wok-6.x view nathive/receipt @ rev 25542

linux-cloop: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 09:15:29 2023 +0000 (20 months ago)
parents 2b9f96603415
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://www.nathive.org/download 2>/dev/null | \
21 sed '/ource tarball/d;/.*nathive-[0-9]/!d;/tgz/!d;s|.*nathive-||;s|.tgz.*||;/-/d;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 sed -i "s|^BASE.*|BASE = $DESTDIR/usr/|;s|nathive.sh|nathive.py|" makefile
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }