summaryrefslogtreecommitdiffstats
path: root/libdevmapper/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /libdevmapper/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'libdevmapper/Pkgfile')
-rw-r--r--libdevmapper/Pkgfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/libdevmapper/Pkgfile b/libdevmapper/Pkgfile
new file mode 100644
index 0000000..00f60a0
--- /dev/null
+++ b/libdevmapper/Pkgfile
@@ -0,0 +1,18 @@
+description="Device mapper userspace library"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+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=/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
+}