description="Device mapper userspace library." packager="CRUX System Team " maintainer="Lukc " url="http://sourceware.org/lvm2/" depends=() name=libdevmapper version=1.02.59 release=1 source=(ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.78.tgz lvm2-static_build.patch) build () { cd LVM2.2.02.78; patch -p1 -i $SRC/lvm2-static_build.patch; ./configure \ --prefix=$prefix \ --sbindir=/sbin \ --libdir=/lib \ --mandir=$mandir \ --datarootdir=$prefix \ --with-staticdir=/sbin \ --with-usrlibdir=$libdir \ --disable-readline \ --enable-pkgconfig \ --enable-static_link \ --with-{user,group}=root; make device-mapper; make DESTDIR=$PKG install_device-mapper }