wok rev 3850
Add: lvm2 (thanks Guillaume Michon)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 15:22:27 2009 +0200 (2009-08-07) |
parents | f97021181df8 |
children | e8ba4e0f7aff |
files | lvm2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lvm2/receipt Fri Aug 07 15:22:27 2009 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lvm2" 1.7 +SOURCE="LVM2" 1.8 +VERSION="2.02.51" 1.9 +CATEGORY="system-tools" 1.10 +SHORT_DESC="Linux Logical Volume Manager." 1.11 +MAINTAINER="guillaume.michon@laposte.net" 1.12 +DEPENDS="readline linux-md libdevmapper" 1.13 +BUILD_DEPENDS="readline-dev" 1.14 +TARBALL="$SOURCE.$VERSION.tgz" 1.15 +WEB_SITE="http://sourceware.org/lvm2/" 1.16 +WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + old_src=$(echo "$src" | sed "s/-$VERSION/.$VERSION/") 1.22 + mv $old_src $src 1.23 + cd $src 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + --enable-cmdlib \ 1.29 + --enable-dmeventd \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && make DESTDIR=$PWD/_pkg install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/lib 1.38 + cp -a $_pkg/etc $fs 1.39 + cp -a $_pkg/usr/sbin $fs/usr 1.40 + cp -a $_pkg/usr/lib/* $fs/usr/lib 1.41 + rm $fs/usr/lib/libdevmapper.so* 1.42 +} 1.43 + 1.44 +