core/libdevmapper/Pkgfile
Juergen Daubert 29c23b2f10 libdevmapper: update to 1.02.53, fix building with glibc 2.12
To build against glibc 2.12.1 we have to add --no-export-dynamic
to the ld options used to link dmset.static.
Using --export-dynamic doesn't make sense in a static link anyway.
2010-08-06 11:28:59 +02:00

30 lines
810 B
Plaintext

# Description: Device mapper userspace library
# URL: http://sourceware.org/lvm2/
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=libdevmapper
version=1.02.53
release=1
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.72.tgz
lvm2-static_build.patch)
build() {
cd LVM2.2.02.72
patch -p1 -i $SRC/lvm2-static_build.patch
./configure --prefix=/usr \
--sbindir=/sbin \
--libdir=/lib \
--datarootdir=/usr \
--with-staticdir=/sbin \
--with-usrlibdir=/usr/lib \
--disable-readline \
--enable-pkgconfig \
--enable-static_link \
--with-{user,group}=root
make device-mapper
make DESTDIR=$PKG install_device-mapper
}