wok diff lvm2/receipt @ rev 4751

Up: udev (150)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 09 21:31:00 2010 +0100 (2010-01-09)
parents
children 8752c40cc534
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lvm2/receipt	Sat Jan 09 21:31:00 2010 +0100
     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 +