wok diff pngcrush/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents 51a1ebbda768
children 080c1dff8494
line diff
     1.1 --- a/pngcrush/receipt	Fri Oct 18 19:43:55 2013 +0000
     1.2 +++ b/pngcrush/receipt	Sat Oct 23 15:17:56 2021 +0000
     1.3 @@ -1,29 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pngcrush"
     1.7 -VERSION="1.7.10"
     1.8 -CATEGORY="utilities"
     1.9 +VERSION="1.8.1"
    1.10 +CATEGORY="graphics"
    1.11  SHORT_DESC="PNG optimizer"
    1.12  MAINTAINER="mimas@slitaz.org"
    1.13  LICENSE="zlib/libpng"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://pmt.sourceforge.net/pngcrush/"
    1.16 +WEB_SITE="https://sourceforge.net/projects/pmt/"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18  WGET_URL="$SF_MIRROR/pmt/$TARBALL"
    1.19  
    1.20 +DEPENDS="glibc-base"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	cd $src
    1.26  	make
    1.27 -	
    1.28 -	mkdir -p $DESTDIR/usr/bin
    1.29 -	install -m755 pngcrush $DESTDIR/usr/bin/
    1.30 +
    1.31 +	mkdir -p $install/usr/bin
    1.32 +	cp -a $src/pngcrush $install/usr/bin
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr
    1.39 -	cp -a $install/usr/bin $fs/usr
    1.40 +	cp -a $install/* $fs
    1.41  }
    1.42 -