wok-6.x rev 14337

Add EXTRA_SOURCE_FILES variable to track sources files for the mirrors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 13 19:32:46 2013 +0200 (2013-04-13)
parents 3eea66e3605c
children 27b4b90f2af8
files asterisk/receipt autoblog/receipt blogotext/receipt fbff/receipt fbvnc/receipt fusecloop/receipt fxload/receipt icedtea6-jdk/receipt john/receipt libboost-dev/receipt mingw32-gcc/receipt mountlo/receipt picoblog/receipt screen/receipt shaarli/receipt upx/receipt usb-modeswitch/receipt xlogo/receipt xv/receipt
line diff
     1.1 --- a/asterisk/receipt	Sat Apr 13 17:23:38 2013 +0200
     1.2 +++ b/asterisk/receipt	Sat Apr 13 19:32:46 2013 +0200
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="Open Source PBX and telephony toolkit."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 +EXTRA_SOURCE_FILES="rfc3951.txt"
     1.8  WEB_SITE="http://www.asterisk.org/"
     1.9  WGET_URL="http://downloads.asterisk.org/pub/telephony/asterisk/releases/$TARBALL"
    1.10  CONFIG_FILES="/etc/asterisk"
     2.1 --- a/autoblog/receipt	Sat Apr 13 17:23:38 2013 +0200
     2.2 +++ b/autoblog/receipt	Sat Apr 13 19:32:46 2013 +0200
     2.3 @@ -7,7 +7,8 @@
     2.4  CATEGORY="network"
     2.5  SHORT_DESC="replicates articles from another blog."
     2.6  MAINTAINER="pascal.bellard@slitaz.org"
     2.7 -_TARBALL="$PACKAGE-$VERSION.php"
     2.8 +TARBALL="$PACKAGE-$VERSION.php"
     2.9 +EXTRA_SOURCE_FILES="vvb.ini"
    2.10  URLV1="http://sebsauvage.net/streisand.me/download.php"
    2.11  URLV2="http://autoblog.kd2.org/source.txt"
    2.12  URL="$URLV1"
    2.13 @@ -18,8 +19,8 @@
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
    2.17 -	[ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
    2.18 -		wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL
    2.19 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
    2.20 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
    2.21  	[ -s "$SOURCES_REPOSITORY/vvb.ini" ] ||
    2.22  		wget -O "$SOURCES_REPOSITORY/vvb.ini" \
    2.23  			http://sebsauvage.net/streisand.me/sebsauvage/vvb.ini
     3.1 --- a/blogotext/receipt	Sat Apr 13 17:23:38 2013 +0200
     3.2 +++ b/blogotext/receipt	Sat Apr 13 19:32:46 2013 +0200
     3.3 @@ -5,9 +5,9 @@
     3.4  CATEGORY="network"
     3.5  SHORT_DESC="Simple blog engine."
     3.6  MAINTAINER="pascal.bellard@slitaz.org"
     3.7 -_TARBALL="$PACKAGE-$VERSION.zip"
     3.8 +TARBALL="$PACKAGE-$VERSION.zip"
     3.9  WEB_SITE="http://lehollandaisvolant.net/blogotext"
    3.10 -URL="$WEB_SITE/archives/$_TARBALL"
    3.11 +URL="$WEB_SITE/archives/$TARBALL"
    3.12  
    3.13  DEPENDS="php-gd"
    3.14  BUILD_DEPENDS=""
    3.15 @@ -15,11 +15,11 @@
    3.16  # Rules to configure and make the package.
    3.17  compile_rules()
    3.18  {
    3.19 -	[ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
    3.20 -		wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL
    3.21 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
    3.22 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
    3.23  	mkdir -p $DESTDIR/var/www 2> /dev/null
    3.24  	cd $DESTDIR/var/www
    3.25 -	unzip "$SOURCES_REPOSITORY/$_TARBALL"
    3.26 +	unzip "$SOURCES_REPOSITORY/$TARBALL"
    3.27  	chown -R 80.80 $DESTDIR/var/www/blogotext
    3.28  }
    3.29  
     4.1 --- a/fbff/receipt	Sat Apr 13 17:23:38 2013 +0200
     4.2 +++ b/fbff/receipt	Sat Apr 13 19:32:46 2013 +0200
     4.3 @@ -6,7 +6,7 @@
     4.4  SHORT_DESC="FFmpeg client in frame buffer."
     4.5  MAINTAINER="pascal.bellard@slitaz.org"
     4.6  WEB_SITE="http://repo.or.cz/w/fbff.git"
     4.7 -_TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.9  TAGS="video"
    4.10  
    4.11  DEPENDS="ffmpeg zlib"
    4.12 @@ -15,12 +15,12 @@
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15  {
    4.16 -	[ -s $SOURCES_REPOSITORY/$_TARBALL ] || 
    4.17 -	  wget -O $SOURCES_REPOSITORY/$_TARBALL \
    4.18 +	[ -s $SOURCES_REPOSITORY/$TARBALL ] || 
    4.19 +	  wget -O $SOURCES_REPOSITORY/$TARBALL \
    4.20  	   $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz
    4.21  	mkdir -p $src
    4.22  	cd $src
    4.23 -	tar xzf $SOURCES_REPOSITORY/$_TARBALL
    4.24 +	tar xzf $SOURCES_REPOSITORY/$TARBALL
    4.25  	mkdir $DESTDIR
    4.26  	cd fbff
    4.27  	make && cp fbff $DESTDIR
     5.1 --- a/fbvnc/receipt	Sat Apr 13 17:23:38 2013 +0200
     5.2 +++ b/fbvnc/receipt	Sat Apr 13 19:32:46 2013 +0200
     5.3 @@ -6,18 +6,18 @@
     5.4  SHORT_DESC="VNC client in frame buffer."
     5.5  MAINTAINER="pascal.bellard@slitaz.org"
     5.6  WEB_SITE="http://repo.or.cz/w/fbvnc.git"
     5.7 -_TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.9  TAGS="vnc remote-desktop"
    5.10  
    5.11  # Rules to configure and make the package.
    5.12  compile_rules()
    5.13  {
    5.14 -	[ -s $SOURCES_REPOSITORY/$_TARBALL ] || 
    5.15 -	  wget -O $SOURCES_REPOSITORY/$_TARBALL \
    5.16 +	[ -s $SOURCES_REPOSITORY/$TARBALL ] || 
    5.17 +	  wget -O $SOURCES_REPOSITORY/$TARBALL \
    5.18  	   $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz
    5.19  	mkdir -p $src
    5.20  	cd $src
    5.21 -	tar xzf $SOURCES_REPOSITORY/$_TARBALL
    5.22 +	tar xzf $SOURCES_REPOSITORY/$TARBALL
    5.23  	mkdir $DESTDIR
    5.24  	cd fbvnc
    5.25  	patch -p0 < $stuff/fbvnc.u &&
    5.26 @@ -29,5 +29,5 @@
    5.27  genpkg_rules()
    5.28  {
    5.29  	mkdir -p $fs/usr/bin
    5.30 -	cp $_pkg/fbvnc $fs/usr/bin
    5.31 +	cp $install/fbvnc $fs/usr/bin
    5.32  }
     6.1 --- a/fusecloop/receipt	Sat Apr 13 17:23:38 2013 +0200
     6.2 +++ b/fusecloop/receipt	Sat Apr 13 19:32:46 2013 +0200
     6.3 @@ -11,6 +11,7 @@
     6.4  ADVANCECOMP_VERSION="1.15"
     6.5  ADVANCECOMP_TARBALL="advancecomp-$ADVANCECOMP_VERSION.tar.gz"
     6.6  ADVANCECOMP_URL="$SF_MIRROR/advancemame/$ADVANCECOMP_TARBALL"
     6.7 +EXTRA_SOURCE_FILES="$ADVANCECOMP_TARBALL"
     6.8  DEPENDS="fuse zlib gcc-lib-base"
     6.9  BUILD_DEPENDS="fuse-dev zlib-dev"
    6.10  SUGGESTED="fuseiso"
     7.1 --- a/fxload/receipt	Sat Apr 13 17:23:38 2013 +0200
     7.2 +++ b/fxload/receipt	Sat Apr 13 19:32:46 2013 +0200
     7.3 @@ -6,6 +6,7 @@
     7.4  SHORT_DESC="Utility to load xorcom astribank channel bank."
     7.5  MAINTAINER="pascal.bellard@slitaz.org"
     7.6  TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
     7.7 +EXTRA_SOURCE_FILES="$PACKAGE"
     7.8  WEB_SITE="http://www.xorcom.com/"
     7.9  WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL"
    7.10  
    7.11 @@ -14,8 +15,8 @@
    7.12  {
    7.13  	ln -s fxload-*_* $src
    7.14  	cd $src
    7.15 -	mkdir -p _pkg/usr/share/usb
    7.16 -	cp a3load.hex _pkg/usr/share/usb || return 1
    7.17 +	mkdir -p $DESTDIR/usr/share/usb
    7.18 +	cp a3load.hex $DESTDIR/usr/share/usb || return 1
    7.19  	[ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE .
    7.20  	if [ ! -f $PACKAGE ]; then
    7.21  		wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE ||
    7.22 @@ -23,13 +24,13 @@
    7.23  		cp $PACKAGE $SOURCES_REPOSITORY
    7.24  	fi
    7.25  	chmod +x fxload
    7.26 -	mkdir -p _pkg/usr/bin
    7.27 -	mv fxload _pkg/usr/bin
    7.28 +	mkdir -p $DESTDIR/usr/bin
    7.29 +	mv fxload $DESTDIR/usr/bin
    7.30  }
    7.31  
    7.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.33  genpkg_rules()
    7.34  {
    7.35 -	cp -a $_pkg/usr $fs	
    7.36 +	cp -a $install/usr $fs	
    7.37  }
    7.38  
     8.1 --- a/icedtea6-jdk/receipt	Sat Apr 13 17:23:38 2013 +0200
     8.2 +++ b/icedtea6-jdk/receipt	Sat Apr 13 19:32:46 2013 +0200
     8.3 @@ -27,6 +27,9 @@
     8.4  # Theses receipts allow to have source tarballs in SRC.
     8.5  openjdk_version="b20"
     8.6  openjdk_date="21_jun_2010"
     8.7 +EXTRA_SOURCE_FILES="jdk6-jaxws-$openjdk_version.zip \
     8.8 +jdk6-jaxp-$openjdk_version.zip jdk6-jaf-$openjdk_version.zip \
     8.9 +openjdk-6-src-$openjdk_version-$openjdk_date.tar.gz"
    8.10  
    8.11  # Rules to configure and make the package.
    8.12  compile_rules()
    8.13 @@ -142,6 +145,6 @@
    8.14  genpkg_rules()
    8.15  {
    8.16  	mkdir -p $fs/usr/lib/jvm/java-icedtea
    8.17 -	cp -a $_pkg/usr/lib/jvm/java-icedtea/bin $fs/usr/lib/jvm/java-icedtea
    8.18 -	cp -a $_pkg/usr/lib/jvm/java-icedtea/lib $fs/usr/lib/jvm/java-icedtea
    8.19 +	cp -a $install/usr/lib/jvm/java-icedtea/bin $fs/usr/lib/jvm/java-icedtea
    8.20 +	cp -a $install/usr/lib/jvm/java-icedtea/lib $fs/usr/lib/jvm/java-icedtea
    8.21  }
     9.1 --- a/john/receipt	Sat Apr 13 17:23:38 2013 +0200
     9.2 +++ b/john/receipt	Sat Apr 13 19:32:46 2013 +0200
     9.3 @@ -14,6 +14,7 @@
     9.4  BUILD_DEPENDS="libdes-dev openssl-dev"
     9.5  
     9.6  PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz"
     9.7 +EXTRA_SOURCE_FILES="$PATCH"
     9.8  
     9.9  # Rules to configure and make the package.
    9.10  compile_rules()
    10.1 --- a/libboost-dev/receipt	Sat Apr 13 17:23:38 2013 +0200
    10.2 +++ b/libboost-dev/receipt	Sat Apr 13 19:32:46 2013 +0200
    10.3 @@ -18,6 +18,7 @@
    10.4  MAINTAINER="chadi.elahmad@gmail.com"
    10.5  
    10.6  TARBALL="$WGET_SOURCE.tar.bz2"
    10.7 +EXTRA_SOURCE_FILES="boost_changeset_75540.u"
    10.8  WEB_SITE="http://www.boost.org/"
    10.9  WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
   10.10  
    11.1 --- a/mingw32-gcc/receipt	Sat Apr 13 17:23:38 2013 +0200
    11.2 +++ b/mingw32-gcc/receipt	Sat Apr 13 19:32:46 2013 +0200
    11.3 @@ -13,6 +13,7 @@
    11.4  mingw32-w32api mingw32-runtime"
    11.5  PROVIDE="mingw32-gcc-c"
    11.6  TARBALL="$SOURCE-$VERSION-src.tar.gz"
    11.7 +EXTRA_SOURCE_FILES="gcc-g++-$VERSION-src.tar.gz gcc-ada-$VERSION-src.tar.gz"
    11.8  WEB_SITE="http://www.mingw.org/"
    11.9  MINGW32_URL="$SF_MIRROR/mingw"
   11.10  WGET_URL="$MINGW32_URL/$TARBALL"
   11.11 @@ -33,7 +34,7 @@
   11.12  	fi
   11.13  
   11.14  	ln -s . gcc-$VERSION
   11.15 -	for tgz in gcc-g++-$VERSION-src.tar.gz gcc-ada-$VERSION-src.tar.gz; do
   11.16 +	for tgz in $EXTRA_SOURCE_FILES; do
   11.17  		[ -s $SOURCES_REPOSITORY/$tgz ] ||
   11.18  			wget -P $SOURCES_REPOSITORY $MINGW32_URL/$tgz
   11.19  		[ -s $SOURCES_REPOSITORY/$tgz ] &&
    12.1 --- a/mountlo/receipt	Sat Apr 13 17:23:38 2013 +0200
    12.2 +++ b/mountlo/receipt	Sat Apr 13 19:32:46 2013 +0200
    12.3 @@ -6,6 +6,7 @@
    12.4  SHORT_DESC="loopback filesystem mount implemented with FUSE."
    12.5  MAINTAINER="pascal.bellard@slitaz.org"
    12.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
    12.7 +EXTRA_SOURCE_FILES="$PACKAGE-i386-$VERSION.tar.gz"
    12.8  WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo"
    12.9  WGET_URL="$SF_MIRROR/fuse/$PACKAGE/$TARBALL"
   12.10  TAGS="filesystem"
    13.1 --- a/picoblog/receipt	Sat Apr 13 17:23:38 2013 +0200
    13.2 +++ b/picoblog/receipt	Sat Apr 13 19:32:46 2013 +0200
    13.3 @@ -5,7 +5,7 @@
    13.4  CATEGORY="network"
    13.5  SHORT_DESC="Tiny blog engine."
    13.6  MAINTAINER="pascal.bellard@slitaz.org"
    13.7 -_TARBALL="$PACKAGE-$VERSION.php"
    13.8 +TARBALL="$PACKAGE-$VERSION.php"
    13.9  WEB_SITE="http://dev.kd2.org/picoblog/"
   13.10  URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php"
   13.11  
   13.12 @@ -14,15 +14,15 @@
   13.13  # Rules to configure and make the package.
   13.14  compile_rules()
   13.15  {
   13.16 -	[ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
   13.17 -		wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL
   13.18 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
   13.19 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
   13.20  	mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null
   13.21 -	cp "$SOURCES_REPOSITORY/$_TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
   13.22 +	cp "$SOURCES_REPOSITORY/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
   13.23  	chown -R 80.80 $DESTDIR/var/www/$PACKAGE
   13.24  }
   13.25  
   13.26  # Rules to gen a SliTaz package suitable for Tazpkg.   
   13.27  genpkg_rules()                                      
   13.28  {
   13.29 -	cp -a $_pkg/* $fs
   13.30 +	cp -a $install/* $fs
   13.31  }
    14.1 --- a/screen/receipt	Sat Apr 13 17:23:38 2013 +0200
    14.2 +++ b/screen/receipt	Sat Apr 13 19:32:46 2013 +0200
    14.3 @@ -16,6 +16,7 @@
    14.4  
    14.5  # http://fungi.yuggoth.org/vsp4s/	Vertical split ^A V
    14.6  PATCH=http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2
    14.7 +EXTRA_SOURCE_FILES="$PATCH"
    14.8  
    14.9  # Rules to configure and make the package.
   14.10  compile_rules()
    15.1 --- a/shaarli/receipt	Sat Apr 13 17:23:38 2013 +0200
    15.2 +++ b/shaarli/receipt	Sat Apr 13 19:32:46 2013 +0200
    15.3 @@ -6,16 +6,16 @@
    15.4  SHORT_DESC="A minimalist delicious clone."
    15.5  WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:shaarli"
    15.6  MAINTAINER="pascal.bellard@slitaz.org"
    15.7 -_TARBALL="${PACKAGE}_$VERSION.zip"
    15.8 -_URL="http://sebsauvage.net/files/$_TARBALL"
    15.9 +TARBALL="${PACKAGE}_$VERSION.zip"
   15.10 +_URL="http://sebsauvage.net/files/$TARBALL"
   15.11  
   15.12  DEPENDS="php"
   15.13  
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
   15.17 -	[ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
   15.18 -		wget -O "$SOURCES_REPOSITORY/$_TARBALL" $_URL
   15.19 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
   15.20 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $_URL
   15.21  	mkdir -p $src 2> /dev/null
   15.22  }
   15.23  
   15.24 @@ -24,7 +24,7 @@
   15.25  {
   15.26  	mkdir -p $fs/var/www
   15.27  	cd $fs/var/www
   15.28 -	unzip "$SOURCES_REPOSITORY/$_TARBALL"
   15.29 +	unzip "$SOURCES_REPOSITORY/$TARBALL"
   15.30  	mv $fs/var/www/$PACKAGE* $fs/var/www/$PACKAGE
   15.31  	sed -i "s|mt_rand())|mt_rand().'$_URL$$')|" $fs/var/www/$PACKAGE/index.php
   15.32  }
    16.1 --- a/upx/receipt	Sat Apr 13 17:23:38 2013 +0200
    16.2 +++ b/upx/receipt	Sat Apr 13 19:32:46 2013 +0200
    16.3 @@ -9,6 +9,7 @@
    16.4  TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
    16.5  WGET_URL="http://upx.sourceforge.net/download/$TARBALL"
    16.6  PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2"
    16.7 +EXTRA_SOURCE_FILES="$PATCH"
    16.8  
    16.9  DEPENDS="ucl zlib"
   16.10  BUILD_DEPENDS="ucl-dev zlib-dev"
    17.1 --- a/usb-modeswitch/receipt	Sat Apr 13 17:23:38 2013 +0200
    17.2 +++ b/usb-modeswitch/receipt	Sat Apr 13 19:32:46 2013 +0200
    17.3 @@ -8,6 +8,7 @@
    17.4  MAINTAINER="pankso@slitaz.org"
    17.5  WEB_SITE="http://www.draisberghof.de/usb_modeswitch/"
    17.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    17.7 +EXTRA_SOURCE_FILES="PACKAGE_DATA.tar.bz2 usb_modeswitch.setup"
    17.8  WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL"
    17.9  TAGS="3g-modem"
   17.10  
    18.1 --- a/xlogo/receipt	Sat Apr 13 17:23:38 2013 +0200
    18.2 +++ b/xlogo/receipt	Sat Apr 13 19:32:46 2013 +0200
    18.3 @@ -5,6 +5,7 @@
    18.4  CATEGORY="games"
    18.5  SHORT_DESC="A logo interpreter written in java."
    18.6  MAINTAINER="claudinei@slitaz.org"
    18.7 +TARBALL="xlogo.jar"
    18.8  WEB_SITE="http://xlogo.tuxfamily.org"
    18.9  
   18.10  DEPENDS="java-jre"
    19.1 --- a/xv/receipt	Sat Apr 13 17:23:38 2013 +0200
    19.2 +++ b/xv/receipt	Sat Apr 13 19:32:46 2013 +0200
    19.3 @@ -10,6 +10,7 @@
    19.4  WGET_URL="ftp://ftp.trilon.com/pub/$PACKAGE/$TARBALL"
    19.5  PATCH1="$SF_MIRROR/png-mng/xv-3.10a-jumbo-patches-20070520.tar.gz"
    19.6  PATCH2="http://sonic.net/~roelofs/code/xv-3.10a-enhancements.20070520-20081216.diff"
    19.7 +EXTRA_SOURCE_FILES="$PATCH1 $PATCH2"
    19.8  
    19.9  DEPENDS="xorg"
   19.10  BUILD_DEPENDS="xorg-dev"