wok-next rev 20764

Up cookutils (1064), gifsicle (1.91), zopfli (1.0.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 00:13:23 2018 +0300 (2018-06-06)
parents 7539c7967308
children dc7e6a02b8bf
files cookutils/receipt gifsicle/receipt zopfli/receipt
line diff
     1.1 --- a/cookutils/receipt	Tue Jun 05 18:53:48 2018 +0300
     1.2 +++ b/cookutils/receipt	Wed Jun 06 00:13:23 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cookutils"
     1.7 -VERSION="1062"
     1.8 +VERSION="1064"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages builder new generation"
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/gifsicle/receipt	Tue Jun 05 18:53:48 2018 +0300
     2.2 +++ b/gifsicle/receipt	Wed Jun 06 00:13:23 2018 +0300
     2.3 @@ -1,27 +1,34 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="gifsicle"
     2.8 -VERSION="1.86"
     2.9 +VERSION="1.91"
    2.10  CATEGORY="graphics"
    2.11 -SHORT_DESC="A command-line tool for creating, editing, and getting information about GIF."
    2.12 +SHORT_DESC="Create, manipulate, and optimize GIF images and animations"
    2.13  MAINTAINER="pascal.bellard@slitaz.org"
    2.14  LICENSE="GPL2"
    2.15 +WEB_SITE="http://www.lcdf.org/gifsicle/"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://www.lcdf.org/~eddietwo/gifsicle/"
    2.19 -WGET_URL="$WEB_SITE/$TARBALL"
    2.20 +WGET_URL="http://www.lcdf.org/gifsicle/$TARBALL"
    2.21  
    2.22 -# Rules to configure and make the package.
    2.23 -compile_rules()
    2.24 -{
    2.25 -	./configure --prefix=/usr \
    2.26 -		$CONFIGURE_ARGS &&
    2.27 +BUILD_DEPENDS="xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev"
    2.28 +SPLIT="gifview gifsicle"
    2.29 +
    2.30 +compile_rules() {
    2.31 +	./configure $CONFIGURE_ARGS &&
    2.32  	make &&
    2.33 -	make DESTDIR=$DESTDIR install
    2.34 +	make install
    2.35  }
    2.36  
    2.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.38 -genpkg_rules()
    2.39 -{
    2.40 -	mkdir -p $fs/usr
    2.41 -	cp -a $install/usr/bin $fs/usr
    2.42 +genpkg_rules() {
    2.43 +	case $PACKAGE in
    2.44 +		gifview)
    2.45 +			copy gifview
    2.46 +			DEPENDS="xorg-libX11"
    2.47 +			CAT="graphics|GIF viewer"
    2.48 +			;;
    2.49 +		gifsicle)
    2.50 +			copy @std @rm
    2.51 +			;;
    2.52 +	esac
    2.53  }
     3.1 --- a/zopfli/receipt	Tue Jun 05 18:53:48 2018 +0300
     3.2 +++ b/zopfli/receipt	Wed Jun 06 00:13:23 2018 +0300
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="zopfli"
     3.7 -VERSION="1.0.1"
     3.8 +VERSION="1.0.2"
     3.9  CATEGORY="base-system"
    3.10  SHORT_DESC="A good, but slow, deflate or zlib compressor"
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -12,13 +12,11 @@
    3.13  WGET_URL="$WEB_SITE/archive/$TARBALL"
    3.14  
    3.15  compile_rules() {
    3.16 -	make zopfli
    3.17 -	make zopflipng
    3.18 -#	make libzopfli
    3.19 -#	make libzopflipng
    3.20 +	make zopfli zopflipng || return 1
    3.21  
    3.22  	install -Dm755 zopfli    $install/usr/bin/zopfli
    3.23  	install -Dm755 zopflipng $install/usr/bin/zopflipng
    3.24 +	cook_pick_docs README*
    3.25  }
    3.26  
    3.27  genpkg_rules() {