libdevmapper: update to 1.02.79

This commit is contained in:
Juergen Daubert 2013-08-19 19:35:02 +02:00
parent 1a584d56e5
commit 817fd3bb08
2 changed files with 17 additions and 14 deletions

View File

@ -1 +1 @@
1ce5b7f9981e1d02dfd1d3857c8d9fbe LVM2.2.02.98.tgz
9629cf5728544d7e637cafde1f73d777 LVM2.2.02.100.tgz

View File

@ -4,28 +4,31 @@
# Depends on: udev
name=libdevmapper
version=1.02.77
version=1.02.79
release=1
source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.98.tgz)
source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.100.tgz)
build() {
cd LVM2.2.02.98
cd LVM2.2.02.100
# needed for static linking with eudev
export UDEV_LIBS="$(pkg-config --libs --static libudev)"
./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
--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...
# pkgconfig insists on /lib one or the other way...
sed -i '/^libdir=/s|${exec_prefix}|/usr|' $PKG/usr/lib/pkgconfig/devmapper.pc
}