wok view nathive/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | 9b389bb0a873 |
children | 2a0479881723 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nathive"
4 VERSION="0.924"
5 CATEGORY="graphics"
6 SHORT_DESC="lightweight image editor"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://www.nathive.org/"
11 WGET_URL="${WEB_SITE}dl/$TARBALL"
12 TAGS="image photo editor"
14 DEPENDS="gtk+ python"
15 BUILD_DEPENDS="pkg-config gtk+-dev python-dev coreutils-operations"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i "s|^BASE.*|BASE = $DESTDIR/usr/|;s|nathive.sh|nathive.py|" makefile
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }