wok diff e2fsprogs/receipt @ rev 1580

gparted: update SUGGESTED
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 16 06:26:05 2008 +0000 (2008-10-16)
parents 90463812cd74
children a42e1101de3e
line diff
     1.1 --- a/e2fsprogs/receipt	Mon Feb 25 14:24:30 2008 +0100
     1.2 +++ b/e2fsprogs/receipt	Thu Oct 16 06:26:05 2008 +0000
     1.3 @@ -8,6 +8,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://e2fsprogs.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +DEPENDS="libcomerr"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11 @@ -25,6 +26,7 @@
    1.12  	make
    1.13  	make DESTDIR=$PWD/_pkg install
    1.14  	make DESTDIR=$PWD/_pkg install-libs
    1.15 +	cp ../stuff/*.files-list .
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 @@ -37,6 +39,9 @@
    1.20  	cp -a $_pkg/usr/bin $fs/usr
    1.21  	cp -a $_pkg/usr/sbin $fs/usr
    1.22  	cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
    1.23 +	cat $src/*.files-list | while read file; do
    1.24 +		[ -f $fs$file ] && rm -f $fs$file
    1.25 +	done
    1.26  	
    1.27  	# Remove fsck provided by Busybox.
    1.28  	rm -rf $fs/sbin/fsck*
    1.29 @@ -44,10 +49,9 @@
    1.30  	# Locale fr.
    1.31  	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.32  	
    1.33 -	# Strip all stuff.
    1.34 -	strip -s $fs/sbin/*
    1.35 -	strip -s $fs/lib/*
    1.36 -	strip -s $fs/usr/bin/*
    1.37 -	strip -s $fs/usr/sbin/*
    1.38 -	strip -s $fs/usr/lib/*
    1.39 +	# Package all mysql pkgs
    1.40 +	for i in $(cd $WOK; ls -d e2fsprogs-* libcomerr*)
    1.41 +	do
    1.42 +		tazwok genpkg $i
    1.43 +	done
    1.44  }