wok-next diff icoutils/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents dd145c435e4b
children 5669e8b3be70
line diff
     1.1 --- a/icoutils/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.2 +++ b/icoutils/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,31 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="icoutils"
     1.8  VERSION="0.30.0"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="Microsoft Windows icon and cursor files convertion tools."
    1.11 +SHORT_DESC="Microsoft Windows icon and cursor files convertion tools"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://www.nongnu.org/icoutils/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.nongnu.org/icoutils"
    1.18  WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="libpng16"
    1.21 -BUILD_DEPENDS="libpng16-dev libpng16"
    1.22 +BUILD_DEPENDS="libpng16-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.29 +compile_rules() {
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		--mandir=/usr/share/man \
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35 -	make DESTDIR=$DESTDIR install
    1.36 +	make DESTDIR=$install install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.40 -genpkg_rules()                                      
    1.41 -{
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="libpng16"
    1.47  }