wok-current rev 19001

Use variables in $TARBALL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 23 11:51:37 2016 +0200 (2016-03-23)
parents 2de1df5c36c1
children 1b9f2450a5aa
files accessx/receipt gtk-theme-switch/receipt gtkperf/receipt jq/receipt libjpeg62/receipt p4wn/description.txt rhapsody/receipt slitaz-backgrounds/receipt tuffy-font/receipt unifont/receipt unzip/receipt zip/receipt zsnes/receipt
line diff
     1.1 --- a/accessx/receipt	Wed Mar 23 05:12:23 2016 -0300
     1.2 +++ b/accessx/receipt	Wed Mar 23 11:51:37 2016 +0200
     1.3 @@ -6,9 +6,9 @@
     1.4  SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features."
     1.5  MAINTAINER="paul@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -TARBALL="accessx0951.tar.gz"
     1.8 +TARBALL="$PACKAGE${VERSION//./}.tar.gz"
     1.9  WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
    1.10 -WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL"
    1.11 +WGET_URL="$(dirname $WEB_SITE)/files/$TARBALL"
    1.12  
    1.13  DEPENDS="tk tcl"
    1.14  BUILD_DEPENDS="xorg-libX11-dev"
     2.1 --- a/gtk-theme-switch/receipt	Wed Mar 23 05:12:23 2016 -0300
     2.2 +++ b/gtk-theme-switch/receipt	Wed Mar 23 11:51:37 2016 +0200
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="Utility to switch and preview GTK+ theme"
     2.5  MAINTAINER="devl547@gmail.com"
     2.6  LICENSE="GPL2"
     2.7 -TARBALL="gtk-theme-switch_2.1.0.orig.tar.gz"
     2.8 +TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
     2.9  WEB_SITE="http://packages.qa.debian.org/g/gtk-theme-switch.html"
    2.10  WGET_URL="http://ftp.debian.org/debian/pool/main/g/$PACKAGE/$TARBALL"
    2.11  
    2.12 @@ -16,7 +16,6 @@
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16 -	cd $src
    2.17  	make
    2.18  }
    2.19  
     3.1 --- a/gtkperf/receipt	Wed Mar 23 05:12:23 2016 -0300
     3.2 +++ b/gtkperf/receipt	Wed Mar 23 11:51:37 2016 +0200
     3.3 @@ -6,9 +6,9 @@
     3.4  SHORT_DESC="Application designed to test GTK+ performance."
     3.5  MAINTAINER="devl547@gmail.com"
     3.6  LICENSE="GPL2"
     3.7 -TARBALL="gtkperf_0.40.tar.gz"
     3.8 +TARBALL="${PACKAGE}_${VERSION}.tar.gz"
     3.9  WEB_SITE="http://gtkperf.sourceforge.net/"
    3.10 -WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
    3.11 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.12  
    3.13  DEPENDS="gtk+"
    3.14  BUILD_DEPENDS="gtk+-dev gettext autoconf"
    3.15 @@ -16,7 +16,6 @@
    3.16  # Rules to configure and make the package.
    3.17  compile_rules()
    3.18  {
    3.19 -	cd $src
    3.20  	./configure $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
    3.21  	make &&
    3.22  	make DESTDIR=$DESTDIR install
     4.1 --- a/jq/receipt	Wed Mar 23 05:12:23 2016 -0300
     4.2 +++ b/jq/receipt	Wed Mar 23 11:51:37 2016 +0200
     4.3 @@ -6,15 +6,14 @@
     4.4  SHORT_DESC="jq is a lightweight and flexible command-line JSON processor"
     4.5  MAINTAINER="nneul@neulinger.org"
     4.6  LICENSE="MIT"
     4.7 -TARBALL="jq-1.4.tar.gz"
     4.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.9  WEB_SITE="http://stedolan.github.io/jq/"
    4.10 -WGET_URL="http://stedolan.github.io/jq/download/source/$TARBALL"
    4.11 +WGET_URL="${WEB_SITE}download/source/$TARBALL"
    4.12  TAGS="json"
    4.13  
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
    4.17 -	cd $src
    4.18  	./configure --prefix=/usr --infodir=/usr/share/info \
    4.19  	--mandir=/usr/share/man \
    4.20  	$CONFIGURE_ARGS &&
    4.21 @@ -28,5 +27,3 @@
    4.22  	mkdir -p $fs/usr
    4.23  	cp -a $install/usr/bin $fs/usr
    4.24  }
    4.25 -
    4.26 -
     5.1 --- a/libjpeg62/receipt	Wed Mar 23 05:12:23 2016 -0300
     5.2 +++ b/libjpeg62/receipt	Wed Mar 23 11:51:37 2016 +0200
     5.3 @@ -1,18 +1,19 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6  PACKAGE="libjpeg62"
     5.7  VERSION="6b"
     5.8  CATEGORY="x-window"
     5.9 -SHORT_DESC="JPEG shared libs."
    5.10 +SHORT_DESC="JPEG shared libs (from Independent JPEG Group)"
    5.11  MAINTAINER="paul@slitaz.org"
    5.12  LICENSE="MIT"
    5.13  WEB_SITE="http://www.ijg.org/"
    5.14 -TARBALL="libjpeg6b_6b.orig.tar.gz"
    5.15 +TARBALL="libjpeg6b_${VERSION}.orig.tar.gz"
    5.16  WGET_URL="ftp://ftp.debian.org/debian/pool/main/libj/libjpeg6b/$TARBALL"
    5.17  TAGS="jpeg jpg"
    5.18  
    5.19  # Rules to configure and make the package.
    5.20  compile_rules()
    5.21  {
    5.22 -	cd $src
    5.23  	./configure --enable-shared --prefix=/usr \
    5.24  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    5.25  	make
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/p4wn/description.txt	Wed Mar 23 11:51:37 2016 +0200
     6.3 @@ -0,0 +1,2 @@
     6.4 +A concise javascript chess engine, first written for the 5k web competition. It
     6.5 +plays at the level of a lazy amateur, so is a good match for most opponents.
     7.1 --- a/rhapsody/receipt	Wed Mar 23 05:12:23 2016 -0300
     7.2 +++ b/rhapsody/receipt	Wed Mar 23 11:51:37 2016 +0200
     7.3 @@ -6,7 +6,7 @@
     7.4  SHORT_DESC="Text mode and easy to use IRC client."
     7.5  MAINTAINER="pankso@slitaz.org"
     7.6  LICENSE="GPL2"
     7.7 -TARBALL="rhapsody_0.28b.tgz"
     7.8 +TARBALL="${PACKAGE}_${VERSION}.tgz"
     7.9  WEB_SITE="http://rhapsody.sourceforge.net/"
    7.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    7.11  TAGS="irc"
     8.1 --- a/slitaz-backgrounds/receipt	Wed Mar 23 05:12:23 2016 -0300
     8.2 +++ b/slitaz-backgrounds/receipt	Wed Mar 23 11:51:37 2016 +0200
     8.3 @@ -1,6 +1,7 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="slitaz-backgrounds"
     8.7 +COMMIT="8f027a0" # Better use https://github.com/hackdorte/slitaz-backgrounds/releases
     8.8  VERSION="2.1"
     8.9  CATEGORY="x-window"
    8.10  SHORT_DESC="Additional backgrounds for Slitaz GNU/Linux."
    8.11 @@ -8,8 +9,8 @@
    8.12  LICENSE="PublicDomain"
    8.13  WEB_SITE="https://github.com/hackdorte/slitaz-backgrounds"
    8.14  
    8.15 -TARBALL="master.zip"
    8.16 -WGET_URL="$WEB_SITE/archive/$TARBALL"
    8.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.18 +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
    8.19  
    8.20  # Rules to configure and make the package.
    8.21  compile_rules()
     9.1 --- a/tuffy-font/receipt	Wed Mar 23 05:12:23 2016 -0300
     9.2 +++ b/tuffy-font/receipt	Wed Mar 23 11:51:37 2016 +0200
     9.3 @@ -9,7 +9,7 @@
     9.4  WEB_SITE="http://tulrich.com/fonts/"
     9.5  
     9.6  TARBALL="tuffy-20120614.zip"
     9.7 -WGET_URL="$WEB_SITE/$TARBALL"
     9.8 +WGET_URL="${WEB_SITE}$TARBALL"
     9.9  
    9.10  DEPENDS=""
    9.11  BUILD_DEPENDS="wget"
    10.1 --- a/unifont/receipt	Wed Mar 23 05:12:23 2016 -0300
    10.2 +++ b/unifont/receipt	Wed Mar 23 11:51:37 2016 +0200
    10.3 @@ -6,10 +6,10 @@
    10.4  SHORT_DESC="The Standard GNU Unifont TTF."
    10.5  MAINTAINER="hackdorte@sapo.pt"
    10.6  LICENSE="GPL2"
    10.7 -WEB_SITE="http://unifoundry.com"
    10.8 +WEB_SITE="http://unifoundry.com/"
    10.9  
   10.10 -TARBALL="unifont-8.0.01.ttf"
   10.11 -WGET_URL="$WEB_SITE/pub/$PACKAGE-$VERSION/font-builds/$TARBALL"
   10.12 +TARBALL="$PACKAGE-$VERSION.ttf"
   10.13 +WGET_URL="${WEB_SITE}pub/$PACKAGE-$VERSION/font-builds/$TARBALL"
   10.14  
   10.15  DEPENDS=""
   10.16  BUILD_DEPENDS="wget"
    11.1 --- a/unzip/receipt	Wed Mar 23 05:12:23 2016 -0300
    11.2 +++ b/unzip/receipt	Wed Mar 23 11:51:37 2016 +0200
    11.3 @@ -6,7 +6,7 @@
    11.4  SHORT_DESC="Zip dearchiver."
    11.5  MAINTAINER="pascal.bellard@slitaz.org"
    11.6  LICENSE="other"
    11.7 -TARBALL="unzip60.tar.gz"
    11.8 +TARBALL="$PACKAGE${VERSION//./}.tar.gz"
    11.9  WEB_SITE="http://www.info-zip.org/"
   11.10  WGET_URL="$SF_MIRROR/infozip/$TARBALL"
   11.11  TAGS="archive compression"
   11.12 @@ -14,8 +14,8 @@
   11.13  # Rules to configure and make the package.
   11.14  compile_rules()
   11.15  {
   11.16 -	ln -sf $WOK/$PACKAGE/unzip60 $WOK/$PACKAGE/$PACKAGE-$VERSION
   11.17 -	cd $src
   11.18 +	ln -sf $WOK/$PACKAGE/$PACKAGE${VERSION//./} $WOK/$PACKAGE/$PACKAGE-$VERSION
   11.19 +
   11.20  	make -f unix/Makefile generic
   11.21  	make -f unix/Makefile prefix=$DESTDIR install
   11.22  }
    12.1 --- a/zip/receipt	Wed Mar 23 05:12:23 2016 -0300
    12.2 +++ b/zip/receipt	Wed Mar 23 11:51:37 2016 +0200
    12.3 @@ -6,7 +6,7 @@
    12.4  SHORT_DESC="Compressor utilities compatible with the DOS PKZIP."
    12.5  MAINTAINER="pankso@slitaz.org"
    12.6  LICENSE="other"
    12.7 -TARBALL="zip30.tgz"
    12.8 +TARBALL="$PACKAGE${VERSION//./}.tgz"
    12.9  WEB_SITE="http://www.info-zip.org/"
   12.10  WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL"
   12.11  TAGS="archive compression"
   12.12 @@ -14,7 +14,6 @@
   12.13  # Rules to configure and make the package.
   12.14  compile_rules()
   12.15  {
   12.16 -	cd $src
   12.17  	make -f unix/Makefile generic_gcc
   12.18  }
   12.19  
   12.20 @@ -27,4 +26,3 @@
   12.21  	cp -a $src/zipnote $fs/usr/bin
   12.22  	cp -a $src/zipsplit $fs/usr/bin
   12.23  }
   12.24 -
    13.1 --- a/zsnes/receipt	Wed Mar 23 05:12:23 2016 -0300
    13.2 +++ b/zsnes/receipt	Wed Mar 23 11:51:37 2016 +0200
    13.3 @@ -7,12 +7,13 @@
    13.4  LICENSE="GPL2"
    13.5  SHORT_DESC="Super Nintendo emulator"
    13.6  WEB_SITE="http://www.zsnes.com/"
    13.7 -TARBALL="zsnes151src.tar.bz2"
    13.8 +TARBALL="$PACKAGE${VERSION//./}src.tar.bz2"
    13.9  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   13.10  TAGS="emulator nintendo snes"
   13.11  
   13.12  DEPENDS="gcc-lib-base libsdl libpng ncurses mesa zlib"
   13.13 -BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf zlib-dev patch"
   13.14 +BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev \
   13.15 +automake autoconf zlib-dev patch"
   13.16  
   13.17  # Rules to configure and make the package.
   13.18