summaryrefslogtreecommitdiffstats
path: root/libdevmapper/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libdevmapper/Pkgfile')
-rw-r--r--libdevmapper/Pkgfile27
1 files changed, 19 insertions, 8 deletions
diff --git a/libdevmapper/Pkgfile b/libdevmapper/Pkgfile
index 00f60a0..79f0a71 100644
--- a/libdevmapper/Pkgfile
+++ b/libdevmapper/Pkgfile
@@ -1,6 +1,6 @@
-description="Device mapper userspace library"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Device mapper userspace library."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://sourceware.org/lvm2/"
depends=()
@@ -10,9 +10,20 @@ 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=/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
+ 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
}