diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-03-04 11:10:54 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-03-04 11:10:54 +0100 |
commit | 252f277cf788b10d18afcbb0619590ef9263d466 (patch) | |
tree | de1d766d9a033f931bc9ba381b6f1b5d12c14de8 /base/lvm2/Pkgfile | |
parent | d9951ead6c252c9046c7a3254d69655dafbb2ba3 (diff) | |
download | nutyx-pakxe-252f277cf788b10d18afcbb0619590ef9263d466.tar.gz nutyx-pakxe-252f277cf788b10d18afcbb0619590ef9263d466.tar.bz2 nutyx-pakxe-252f277cf788b10d18afcbb0619590ef9263d466.tar.xz nutyx-pakxe-252f277cf788b10d18afcbb0619590ef9263d466.zip |
lvm2, compilé en statique et suppression des libs
Diffstat (limited to 'base/lvm2/Pkgfile')
-rw-r--r-- | base/lvm2/Pkgfile | 9 |
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 } |