wok-stable diff docbook-xml/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents d84e95f8e99e
children 484050e8db80
line diff
     1.1 --- a/docbook-xml/receipt	Sun Dec 12 15:53:13 2010 +0000
     1.2 +++ b/docbook-xml/receipt	Sat Feb 12 02:18:58 2011 +0100
     1.3 @@ -10,19 +10,11 @@
     1.4  SOURCE="docbook"
     1.5  TARBALL="$PACKAGE-$VERSION.zip"
     1.6  WEB_SITE="http://www.docbook.org/"
     1.7 -WGET="http://www.docbook.org/xml/$VERSION/$TARBALL"
     1.8 +WGET_URL="http://www.docbook.org/xml/$VERSION/$TARBALL"
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11  genpkg_rules()
    1.12  {
    1.13 -	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    1.14 -		mkdir -p $src && unzip $SOURCES_REPOSITORY/$TARBALL -d $src
    1.15 -	else
    1.16 -		wget -O $SOURCES_REPOSITORY/$TARBALL $WGET
    1.17 -		mkdir -p $src && unzip $SOURCES_REPOSITORY/$TARBALL -d $src
    1.18 -	fi
    1.19 -
    1.20 -	#cd $src
    1.21  	install -v -d -m755 $fs/usr/share/xml/docbook/xml-dtd-$VERSION &&
    1.22  	install -v -d -m755 $fs/etc/xml &&
    1.23  	chown -R root:root . &&