32 lines
871 B
Plaintext
32 lines
871 B
Plaintext
# Description: Device mapper userspace library
|
|
# URL: http://sourceware.org/lvm2/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: udev
|
|
|
|
name=libdevmapper
|
|
version=1.02.75
|
|
release=1
|
|
source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.96.tgz)
|
|
|
|
build() {
|
|
cd LVM2.2.02.96
|
|
|
|
./configure --prefix=/usr \
|
|
--exec-prefix= \
|
|
--datarootdir=/usr \
|
|
--with-udev-prefix= \
|
|
--disable-readline \
|
|
--enable-pkgconfig \
|
|
--enable-static_link \
|
|
--enable-udev_sync \
|
|
--enable-udev_rules \
|
|
--with-{user,group}=root
|
|
|
|
make device-mapper
|
|
make DESTDIR=$PKG install_device-mapper
|
|
install -m0644 -D udev/12-dm-permissions.rules $PKG/etc/udev/rules.d/12-dm-permissions.rules.example
|
|
|
|
#pkgconfig insists on /lib one or the other way...
|
|
sed -i '/^libdir=/s|${exec_prefix}|/usr|' $PKG/usr/lib/pkgconfig/devmapper.pc
|
|
}
|