tazwok rev 87

Update default receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 26 15:43:25 2008 +0000 (2008-08-26)
parents 75b508daa737
children 07f7cadc87e1
files tazwok
line diff
     1.1 --- a/tazwok	Sun Aug 03 12:11:41 2008 +0000
     1.2 +++ b/tazwok	Tue Aug 26 15:43:25 2008 +0000
     1.3 @@ -433,7 +433,6 @@
     1.4  	# Remove old Tazwok package files.
     1.5  	if [ -d "taz" ]; then
     1.6  		rm -rf taz
     1.7 -		rm -f $PACKAGES_REPOSITORY/$PACKAGE-$VERSION$EXTRAVERSION.tazpkg
     1.8  	fi
     1.9  	# Create the package tree and set useful variables.
    1.10  	mkdir -p taz/$PACKAGE-$VERSION/fs
    1.11 @@ -450,7 +449,7 @@
    1.12  	cd $WOK/$PACKAGE
    1.13  	# Execute genpkg_rules and copy generic files to build the package.
    1.14  	echo ""
    1.15 -	echo "Bulding $PACKAGE with the receipt..."
    1.16 +	echo "Building $PACKAGE with the receipt..."
    1.17  	echo "================================================================================"
    1.18  	if grep -q ^genpkg_rules $RECEIPT; then
    1.19  		# Log process.
    1.20 @@ -504,6 +503,7 @@
    1.21  			head -1 | sed 's|/lib/modules/\(.*\)-slitaz/.*|_\1|')";;
    1.22  		esac
    1.23  	fi
    1.24 +	rm -f $PACKAGES_REPOSITORY/$PACKAGE-$VERSION$EXTRAVERSION.tazpkg 2> /dev/null
    1.25  	echo -n "Creating md5sum of files..."
    1.26  	while read file; do
    1.27  		[ -L "fs$file" ] && continue
    1.28 @@ -996,9 +996,8 @@
    1.29  {
    1.30  	cd $src
    1.31  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.32 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.33 -	make
    1.34 -	make DESTDIR=$PWD/_pkg install
    1.35 +	--mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.36 +	make && make DESTDIR=$PWD/_pkg install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 @@ -1006,7 +1005,6 @@
    1.41  {
    1.42  	mkdir -p $fs/usr
    1.43  	cp -a $_pkg/usr/bin $fs/usr
    1.44 -	strip -s $fs/usr/bin/*
    1.45  }
    1.46  
    1.47  EOF