wok-6.x diff lvm2/receipt @ rev 5188

Up: tazlito (3.3)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 00:54:39 2010 +0100 (2010-03-28)
parents 8752c40cc534
children 03bc7b6d7b7c
line diff
     1.1 --- a/lvm2/receipt	Sun Feb 28 16:17:14 2010 +0100
     1.2 +++ b/lvm2/receipt	Sun Mar 28 00:54:39 2010 +0100
     1.3 @@ -2,11 +2,11 @@
     1.4  
     1.5  PACKAGE="lvm2"
     1.6  SOURCE="LVM2"
     1.7 -VERSION="2.02.51"
     1.8 +VERSION="2.02.61"
     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 ncurses"
    1.13 +DEPENDS="readline linux-md libdevmapper"
    1.14  BUILD_DEPENDS="readline-dev"
    1.15  TARBALL="$SOURCE.$VERSION.tgz"
    1.16  WEB_SITE="http://sourceware.org/lvm2/"
    1.17 @@ -24,18 +24,24 @@
    1.18  		--mandir=/usr/share/man \
    1.19  		--enable-cmdlib \
    1.20  		--enable-dmeventd \
    1.21 +		--with-udevdir=/etc/udev/rules.d \
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make && make DESTDIR=$PWD/_pkg install
    1.24 +	cd $src/udev
    1.25 +	make DESTDIR=$src/_pkg install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr/lib
    1.32 -	cp -a $_pkg/etc $fs
    1.33 +	mkdir -p $fs/usr/lib $fs/etc
    1.34 +	cp -a $_pkg/etc/udev $fs/etc
    1.35  	cp -a $_pkg/usr/sbin $fs/usr
    1.36  	cp -a $_pkg/usr/lib/* $fs/usr/lib
    1.37 -	rm $fs/usr/lib/libdevmapper.so*
    1.38 +	# split libdevmapper
    1.39 +	rm -f $fs/usr/lib/libdevmapper*.so*
    1.40 +	rm -f $fs/usr/sbin/dmsetup
    1.41 +
    1.42  }
    1.43  
    1.44