summaryrefslogtreecommitdiffstats
path: root/base/lvm2/Pkgfile
diff options
context:
space:
mode:
authorsibel <sibel@free.fr>2010-03-04 12:08:31 +0100
committersibel <sibel@free.fr>2010-03-04 12:08:31 +0100
commitdc0eada4b40e41aaba6ca87cd602399baeeafdb5 (patch)
tree9c5161a8a81d2506a72d8ab9fd0682498c329fa0 /base/lvm2/Pkgfile
parentbcab39a4923d4749c6eb44de4b49a4b1bd767798 (diff)
parent067ad94da9004928a4e9c3d8a9e4e5ee94d7534b (diff)
downloadnutyx-pakxe-dc0eada4b40e41aaba6ca87cd602399baeeafdb5.tar.gz
nutyx-pakxe-dc0eada4b40e41aaba6ca87cd602399baeeafdb5.tar.bz2
nutyx-pakxe-dc0eada4b40e41aaba6ca87cd602399baeeafdb5.tar.xz
nutyx-pakxe-dc0eada4b40e41aaba6ca87cd602399baeeafdb5.zip
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'base/lvm2/Pkgfile')
-rw-r--r--base/lvm2/Pkgfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/base/lvm2/Pkgfile b/base/lvm2/Pkgfile
index 7342b7996..1122e709c 100644
--- a/base/lvm2/Pkgfile
+++ b/base/lvm2/Pkgfile
@@ -2,11 +2,10 @@
# URL: http://sourceware.org/lvm2/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=lvm2
version=2.02.61
-release=1
+release=2
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz\
lvmnodes)
build() {
@@ -15,6 +14,7 @@ build() {
./configure \
--prefix=/usr \
--exec-prefix= \
+ --enable-static-link \
--mandir=/usr/share/man \
--enable-lvm1_fallback \
--disable-readline
@@ -28,7 +28,10 @@ build() {
install -d -m 1777 $PKG/var/lock
install -d -m 0700 $PKG/var/lock/lvm
# devel in device-mapper
- rm -r $PKG/usr/include
+ rm -r $PKG/{lib,usr/include}
+ rm $PKG/sbin/{lvm,dmsetup}
+ ln -s lvm.static $PKG/sbin/lvm
+ ln -s dmsetup.static $PKG/sbin/dmsetup
}