summaryrefslogtreecommitdiffstats
path: root/base/lvm2/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-19 09:02:00 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-10-19 09:02:00 +0200
commit6d49f1e4700b8237fb898eebf3428ae8e94ef02a (patch)
tree4edbf16743a9d09e6b6d798fac6dd211bf0ff835 /base/lvm2/Pkgfile
parentef26e623ae90051cf49cf1414542f51e1c8ac55c (diff)
downloadnutyx-pakxe-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.tar.gz
nutyx-pakxe-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.tar.bz2
nutyx-pakxe-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.tar.xz
nutyx-pakxe-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.zip
Ajout de lvm2#2.02.53-1
Diffstat (limited to 'base/lvm2/Pkgfile')
-rw-r--r--base/lvm2/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/base/lvm2/Pkgfile b/base/lvm2/Pkgfile
new file mode 100644
index 000000000..eeb1e1abd
--- /dev/null
+++ b/base/lvm2/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Outils pour la gestion des volumes logiques (lvm)
+# URL: http://sourceware.org/lvm2/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=lvm2
+version=2.02.53
+release=1
+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/S29lvmnodes
+ install -d -m 0700 $PKG/etc/lvm/{archive,backup}
+ install -d -m 1777 $PKG/var/lock
+ install -d -m 0700 $PKG/var/lock/lvm
+}
+
+