wok view nathive/receipt @ rev 12097
Add: sarg-php
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 11 02:33:09 2012 +0100 (2012-03-11) |
parents | bee79018e13a |
children | c10e7f955563 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nathive"
4 VERSION="0.813"
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}_source.tar.gz"
11 WEB_SITE="http://www.nathive.org/"
12 WGET_URL="$WEB_SITE/get/$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 }