wok annotate nathive/receipt @ rev 18930
mmv, sqlite, unclutter: use EXTRA_SOURCE_FILES to track the sources files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 26 17:55:33 2016 +0100 (2016-02-26) |
parents | 9b389bb0a873 |
children | 2a0479881723 |
rev | line source |
---|---|
jozee@2730 | 1 # SliTaz package receipt. |
jozee@2730 | 2 |
jozee@2730 | 3 PACKAGE="nathive" |
pascal@13347 | 4 VERSION="0.924" |
jozee@2730 | 5 CATEGORY="graphics" |
jozee@2730 | 6 SHORT_DESC="lightweight image editor" |
jozee@2730 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@13347 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
jozee@2730 | 10 WEB_SITE="http://www.nathive.org/" |
pascal@13347 | 11 WGET_URL="${WEB_SITE}dl/$TARBALL" |
jozee@4969 | 12 TAGS="image photo editor" |
jozee@2730 | 13 |
pascal@13348 | 14 DEPENDS="gtk+ python" |
pascal@13348 | 15 BUILD_DEPENDS="pkg-config gtk+-dev python-dev coreutils-operations" |
pascal@13348 | 16 |
jozee@2730 | 17 # Rules to configure and make the package. |
jozee@2730 | 18 compile_rules() |
jozee@2730 | 19 { |
jozee@2730 | 20 cd $src |
pascal@13348 | 21 sed -i "s|^BASE.*|BASE = $DESTDIR/usr/|;s|nathive.sh|nathive.py|" makefile |
pascal@13348 | 22 make install |
jozee@2730 | 23 } |
jozee@2730 | 24 |
jozee@2730 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2730 | 26 genpkg_rules() |
jozee@2730 | 27 { |
pascal@13348 | 28 cp -a $install/usr $fs |
jozee@2730 | 29 } |