wok-next diff optipng/receipt @ rev 21360

guacamole: inserted fix libtool
author Hans-G?nter Theisgen
date Mon Apr 13 06:41:39 2020 +0100 (2020-04-13)
parents 5669e8b3be70
children
line diff
     1.1 --- a/optipng/receipt	Sat Dec 22 04:52:35 2018 +0200
     1.2 +++ b/optipng/receipt	Mon Apr 13 06:41:39 2020 +0100
     1.3 @@ -1,20 +1,30 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="optipng"
     1.7 -VERSION="0.7.6"
     1.8 +VERSION="0.7.7"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Compress and optimize PNG images"
    1.11  MAINTAINER="devel@slitaz.org"
    1.12  LICENSE="zlib/libpng"
    1.13  WEB_SITE="http://optipng.sourceforge.net/"
    1.14 -TAGS="image compression"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +TARBALL_SHA1="68aa89fbde642b104aeefa9efbc4dfbb936fa630"
    1.19  
    1.20 -BUILD_DEPENDS="libpng-dev zlib-dev"
    1.21 +BUILD_DEPENDS="libpng-dev zlib-dev zlib-static"
    1.22  SPLIT="$PACKAGE-static:static"
    1.23  
    1.24 +COPY_static="@std"
    1.25 +
    1.26 +CAT_static="graphics|static binary"
    1.27 +PROVIDE_static="optipng"
    1.28 +
    1.29 +DEPENDS_std="libpng zlib"
    1.30 +DEPENDS_static=" "
    1.31 +
    1.32 +TAGS="image compression"
    1.33 +
    1.34  compile_rules() {
    1.35  	sed -i 's|prefix)/man|prefix)/share/man|' configure
    1.36  
    1.37 @@ -35,18 +45,3 @@
    1.38  	make &&
    1.39  	make install
    1.40  }
    1.41 -
    1.42 -genpkg_rules() {
    1.43 -	case $PACKAGE in
    1.44 -		optipng)
    1.45 -			copy @std
    1.46 -			DEPENDS="libpng zlib"
    1.47 -			;;
    1.48 -		optipng-static)
    1.49 -			copy @std
    1.50 -			CAT="graphics|static binary"
    1.51 -			PROVIDE="optipng"
    1.52 -			DEPENDS=" "
    1.53 -			;;
    1.54 -	esac
    1.55 -}