summaryrefslogtreecommitdiffstats
path: root/lvm2/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
commit9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch)
treeae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /lvm2/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'lvm2/Pkgfile')
-rw-r--r--lvm2/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/lvm2/Pkgfile b/lvm2/Pkgfile
new file mode 100644
index 000000000..dad828671
--- /dev/null
+++ b/lvm2/Pkgfile
@@ -0,0 +1,34 @@
+# Description: Outils pour la gestion des volumes logiques (lvm)
+# URL: http://sourceware.org/lvm2/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Run on: device-mapper
+
+name=lvm2
+version=2.02.84
+release=2
+source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz\
+ lvmnodes)
+build() {
+ cd LVM2.$version
+ ./configure \
+ --prefix=/usr \
+ --exec-prefix= \
+ --mandir=/usr/share/man \
+ --enable-lvm1_fallback \
+ --disable-readline
+
+ make
+ make DESTDIR=$PKG install
+ install -d -m 0700 $PKG/etc/rc.d/{init.d,rcsysinit.d}
+ cp ../lvmnodes $PKG/etc/rc.d/init.d/
+ ln -s ../init.d/lvmnodes $PKG/etc/rc.d/rcsysinit.d/S19lvmnodes
+ install -d -m 0700 $PKG/etc/lvm/{archive,backup}
+ install -d -m 1777 $PKG/var/lock
+ install -d -m 0700 $PKG/var/lock/lvm
+ # devel in device-mapper
+ rm $PKG/usr/include/libdevmapper.h
+ rm $PKG/lib/libdevmapper.so.1.02
+}
+
+