wok rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 6e5c8ce7fb15
children a5d04db3cafc
files f2c/receipt gentorrent/receipt glza/receipt
line diff
     1.1 --- a/f2c/receipt	Sat May 21 13:10:56 2022 +0000
     1.2 +++ b/f2c/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -6,9 +6,9 @@
     1.4  SHORT_DESC="A Fortran 77 to C translator."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="MIT"
     1.7 -TARBALL="$PACKAGE-$VERSION.tgz"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="https://github.com/barak/f2c"
    1.10 -WGET_URL="http://www.netlib.org/f2c/src.tgz"
    1.11 +WGET_URL="https://github.com/barak/f2c/archive/refs/tags/upstream/$VERSION.tar.gz"
    1.12  LIBF2C="http://www.netlib.org/f2c/libf2c.zip"
    1.13  EXTRA_SOURCE_FILES="${LIBF2C##*/}"
    1.14  TAGS="fortran"
    1.15 @@ -16,8 +16,8 @@
    1.16  # What is the latest version available today?
    1.17  current_version()
    1.18  {
    1.19 -	wget -O - $WGET_URL 2>/dev/null | \
    1.20 -	tar xOzf - src/changes | sed '/^20[0-9]/!d' | sort -Vr | sed q
    1.21 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.22 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.23  }
    1.24  
    1.25  # Rules to configure and make the package.
    1.26 @@ -25,6 +25,7 @@
    1.27  {
    1.28  	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
    1.29  		wget -P $SOURCES_REPOSITORY $LIBF2C
    1.30 +	cd src
    1.31  	cp makefile.u makefile
    1.32  	make
    1.33  	mkdir libf2c && cd libf2c
    1.34 @@ -37,10 +38,10 @@
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $install/usr/man $fs/usr/bin $fs/usr/lib $fs/usr/include
    1.38 -	cp -a $src/f2c $fs/usr/bin
    1.39 -	cp -a $src/libf2c/f2c.h $fs/usr/include
    1.40 -	cp -a $src/libf2c/libf2c.a $fs/usr/lib
    1.41 -	cp -a $src/libf2c/libf2c.so $fs/usr/lib/libf2c.so.1.0.0
    1.42 +	cp -a $src/src/f2c $fs/usr/bin
    1.43 +	cp -a $src/src/libf2c/f2c.h $fs/usr/include
    1.44 +	cp -a $src/src/libf2c/libf2c.a $fs/usr/lib
    1.45 +	cp -a $src/src/libf2c/libf2c.so $fs/usr/lib/libf2c.so.1.0.0
    1.46  	ln -s libf2c.so.1.0.0 $fs/usr/lib/libf2c.so.1
    1.47  	ln -s libf2c.so.1.0.0 $fs/usr/lib/libf2c.so
    1.48  	cp -a $src/f2c.1t $install/usr/man/f2c.1
     2.1 --- a/gentorrent/receipt	Sat May 21 13:10:56 2022 +0000
     2.2 +++ b/gentorrent/receipt	Sat May 21 21:38:29 2022 +0000
     2.3 @@ -6,12 +6,12 @@
     2.4  SHORT_DESC="Creates BitTorrent metainfo files with any BitTorrent extension."
     2.5  MAINTAINER="pascal.bellard@slitaz.org"
     2.6  LICENSE="GPL3"
     2.7 -TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.8 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.9  WEB_SITE="http://tanguy.ortolo.eu/perso/pages/projets/gentorrent"
    2.10 -WGET_URL="http://git.ortolo.eu/gentorrent.git/snapshot/version/$VERSION.tar.gz"
    2.11 +WGET_URL="git|git://git.ortolo.eu/gentorrent.git"
    2.12  
    2.13  DEPENDS="py3k"
    2.14 -BUILD_DEPENDS=""
    2.15 +BUILD_DEPENDS="git"
    2.16  
    2.17  # What is the latest version available today?
    2.18  current_version()
    2.19 @@ -24,5 +24,5 @@
    2.20  genpkg_rules()
    2.21  {
    2.22  	mkdir -p $fs/usr/bin
    2.23 -	cp -a $src/*/gentorrent.py $fs/usr/bin
    2.24 +	cp -a $src/gentorrent.py $fs/usr/bin
    2.25  }
     3.1 --- a/glza/receipt	Sat May 21 13:10:56 2022 +0000
     3.2 +++ b/glza/receipt	Sat May 21 21:38:29 2022 +0000
     3.3 @@ -1,14 +1,15 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="glza"
     3.7 -VERSION="0.11.2"
     3.8 +VERSION="0.11.4"
     3.9  CATEGORY="base-system"
    3.10  SHORT_DESC="Lossless compressor."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="Apache"
    3.13  WEB_SITE="https://encode.su/threads/1909-Tree-alpha-v0-1-download?p=55433"
    3.14  TARBALL="$PACKAGE-$VERSION.zip"
    3.15 -WGET_URL="https://encode.su/attachment.php?s=a72a69ab5c0c400ef5fbc419099b4e0f&attachmentid=7173&d=1577648098"
    3.16 +WGET_URL="https://encode.su/attachment.php?attachmentid=8099&d=1606032483"
    3.17 +
    3.18  TAGS="compression"
    3.19  
    3.20  BUILD_DEPENDS="gcc49"
    3.21 @@ -28,6 +29,7 @@
    3.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.23  genpkg_rules()
    3.24  {
    3.25 -	mkdir -p $fs/usr/bin
    3.26 -	cp -a $src/GLZA $fs/usr/bin/glza
    3.27 +	mkdir -p $fs/usr/bin $install/usr/share/doc
    3.28 +	cp -a $src/GLZA		$fs/usr/bin/glza
    3.29 +	cp -a $src/readme.txt	$install/usr/share/doc
    3.30  }