summaryrefslogtreecommitdiffstats
path: root/libdevmapper/Pkgfile.old
diff options
context:
space:
mode:
Diffstat (limited to 'libdevmapper/Pkgfile.old')
-rw-r--r--libdevmapper/Pkgfile.old29
1 files changed, 29 insertions, 0 deletions
diff --git a/libdevmapper/Pkgfile.old b/libdevmapper/Pkgfile.old
new file mode 100644
index 0000000..834bdd0
--- /dev/null
+++ b/libdevmapper/Pkgfile.old
@@ -0,0 +1,29 @@
+# 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.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
+}