wok-next diff gifsicle/receipt @ rev 20806

I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 08:26:54 2018 +0000 (2018-06-13)
parents 3224f68a9d14
children d5aab818505e
line diff
     1.1 --- a/gifsicle/receipt	Wed Dec 03 15:49:26 2014 +0100
     1.2 +++ b/gifsicle/receipt	Wed Jun 13 08:26:54 2018 +0000
     1.3 @@ -1,27 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gifsicle"
     1.8 -VERSION="1.86"
     1.9 +VERSION="1.91"
    1.10  CATEGORY="graphics"
    1.11 -SHORT_DESC="A command-line tool for creating, editing, and getting information about GIF."
    1.12 +SHORT_DESC="Create, manipulate, and optimize GIF images and animations"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.lcdf.org/gifsicle/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.lcdf.org/~eddietwo/gifsicle/"
    1.19 -WGET_URL="$WEB_SITE/$TARBALL"
    1.20 +WGET_URL="http://www.lcdf.org/gifsicle/$TARBALL"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	./configure --prefix=/usr \
    1.26 -		$CONFIGURE_ARGS &&
    1.27 +BUILD_DEPENDS="xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev"
    1.28 +SPLIT="gifview gifsicle"
    1.29 +
    1.30 +compile_rules() {
    1.31 +	./configure $CONFIGURE_ARGS &&
    1.32  	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr
    1.41 -	cp -a $install/usr/bin $fs/usr
    1.42 +genpkg_rules() {
    1.43 +	case $PACKAGE in
    1.44 +		gifview)
    1.45 +			copy gifview
    1.46 +			DEPENDS="xorg-libX11"
    1.47 +			CAT="graphics|GIF viewer"
    1.48 +			;;
    1.49 +		gifsicle)
    1.50 +			copy @std @rm
    1.51 +			;;
    1.52 +	esac
    1.53  }