libdevmapper: update to 1.02.107

This commit is contained in:
Juergen Daubert 2015-09-07 10:40:28 +02:00
parent 41d43d99f0
commit 07bb825b90
2 changed files with 7 additions and 12 deletions

View File

@ -1 +1 @@
7ddcbf6eee4970068a0ca598fc775a75 LVM2.2.02.129.tgz e7ae07e413120713549cc6dd2a558c75 LVM2.2.02.130.tgz

View File

@ -1,21 +1,21 @@
# Description: Device mapper userspace library # Description: Device mapper userspace library
# URL: http://sourceware.org/lvm2/ # URL: http://sourceware.org/lvm2/
# Maintainer: CRUX System Team, core-ports at crux dot nu # Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: eudev # Depends on: eudev util-linux
name=libdevmapper name=libdevmapper
version=1.02.106 version=1.02.107
release=2 release=1
source=(http://mirrors.kernel.org/sources.redhat.com/lvm2/LVM2.2.02.129.tgz) source=(http://mirrors.kernel.org/sources.redhat.com/lvm2/LVM2.2.02.130.tgz)
build() { build() {
cd LVM2.2.02.129 cd LVM2.2.02.130
# needed for static linking with eudev # needed for static linking with eudev
export UDEV_LIBS="$(pkg-config --libs --static libudev)" export UDEV_LIBS="$(pkg-config --libs --static libudev)"
# needed for static linking # needed for static linking
export LIBS="-lpthread -luuid" export LIBS="-lpthread -luuid -lm"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--exec-prefix= \ --exec-prefix= \
@ -37,9 +37,4 @@ build() {
# 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 sed -i '/^libdir=/s|${exec_prefix}|/usr|' $PKG/usr/lib/pkgconfig/devmapper.pc
# fix pkg-config file
# https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=fc35b6988d65fe3f11a3f668cd8f01fe3294b562
sed -i '/^Requires/s/librt//' $PKG/usr/lib/pkgconfig/devmapper.pc
echo 'Libs.private: -lm -lrt' >> $PKG/usr/lib/pkgconfig/devmapper.pc
} }