summaryrefslogtreecommitdiffstats
path: root/libdevmapper
diff options
context:
space:
mode:
Diffstat (limited to 'libdevmapper')
-rw-r--r--libdevmapper/.footprint2
-rw-r--r--libdevmapper/.sha256sum2
-rw-r--r--libdevmapper/Pkgfile27
3 files changed, 22 insertions, 9 deletions
diff --git a/libdevmapper/.footprint b/libdevmapper/.footprint
index 2de326a..d8a9f0c 100644
--- a/libdevmapper/.footprint
+++ b/libdevmapper/.footprint
@@ -13,4 +13,4 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
-r--r--r-- root/root usr/lib/pkgconfig/devmapper.pc
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
--r--r--r-- root/root usr/man/man8/dmsetup.8.gz
+-r--r--r-- root/root usr/man/man8/dmsetup.8.bz2
diff --git a/libdevmapper/.sha256sum b/libdevmapper/.sha256sum
new file mode 100644
index 0000000..49e6a71
--- /dev/null
+++ b/libdevmapper/.sha256sum
@@ -0,0 +1,2 @@
+b8a4fd614a908d152613ec17b603245b8e3583d16853a17fe3a9fa550fcd1cd7 LVM2.2.02.78.tgz
+40821e2ddb71922d7ab27b8e6e5e2c48365dbecd93aee57f65ad13663e341a50 lvm2-static_build.patch
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
}