wok-next view nathive/receipt @ rev 13347

Up nathive (0.924)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 07 11:34:45 2012 +0200 (2012-09-07)
parents be13f25e790b
children 9b389bb0a873
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 DEPENDS="gtk+"
9 BUILD_DEPENDS="pkg-config gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://www.nathive.org/"
12 WGET_URL="${WEB_SITE}dl/$TARBALL"
13 TAGS="image photo editor"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed 's|"./"|"/usr/share/nathive/"|g' -i main.c
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 mkdir -p $fs/usr/share/nathive
28 mkdir -p $fs/usr/share/applications
30 cp -a $src/nathive $fs/usr/bin
32 cp -a $src/cfg/ $src/img/ $src/palettes/ $src/text/ $fs/usr/share/nathive/
33 #copy locale : it only adds 4k
34 cp -a $src/lang/ $fs/usr/share/nathive/
35 # change owner and permissions
36 chown -R root.root $fs/usr/share/nathive
37 chmod -R 0755 $fs/usr/share/nathive
39 cp -a $stuff/nathive.desktop $fs/usr/share/applications
41 }