wok-next diff nathive/receipt @ rev 20978

Small improvements
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 27 01:34:11 2018 +0300 (2018-09-27)
parents 2b9f96603415
children f48456621a9d
line diff
     1.1 --- a/nathive/receipt	Sat Aug 10 13:52:56 2013 +0000
     1.2 +++ b/nathive/receipt	Thu Sep 27 01:34:11 2018 +0300
     1.3 @@ -1,29 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="nathive"
     1.8  VERSION="0.924"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="lightweight image editor"
    1.11 +SHORT_DESC="Lightweight image editor"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://www.nathive.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tgz"
    1.17 -WEB_SITE="http://www.nathive.org/" 
    1.18  WGET_URL="${WEB_SITE}dl/$TARBALL"
    1.19 -TAGS="image photo editor"
    1.20  
    1.21 -DEPENDS="gtk+ python"
    1.22 -BUILD_DEPENDS="pkg-config gtk+-dev python-dev coreutils-operations"
    1.23 +BUILD_DEPENDS="gtk+-dev python-dev coreutils-operations"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 +compile_rules() {
    1.30  	sed -i "s|^BASE.*|BASE = $DESTDIR/usr/|;s|nathive.sh|nathive.py|" makefile
    1.31  	make install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	cp -a $install/usr $fs
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40 +	DEPENDS="gtk+ python"
    1.41 +	TAGS="image photo editor"
    1.42  }