wok view nathive/receipt @ rev 5053

fix typos: libgphoto2
author Rohit Joshi <jozee@slitaz.org>
date Sat Mar 06 18:51:17 2010 +0000 (2010-03-06)
parents 3dce3a64acf3
children be13f25e790b
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 src="$WOK/$PACKAGE/${PACKAGE}_${VERSION}_source"
20 cd $src
21 sed 's|"./"|"/usr/share/nathive/"|g' -i main.c
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 mkdir -p $fs/usr/share/nathive
30 mkdir -p $fs/usr/share/applications
31 _pkg="$WOK/$PACKAGE/${PACKAGE}_${VERSION}_source"
33 cp -a $_pkg/nathive $fs/usr/bin
35 cp -a $_pkg/cfg/ $_pkg/img/ $_pkg/palettes/ $_pkg/text/ $fs/usr/share/nathive/
36 #copy locale : it only adds 4k
37 cp -a $_pkg/lang/ $fs/usr/share/nathive/
38 # change owner and permissions
39 chown -R root.root $fs/usr/share/nathive
40 chmod -R 0755 $fs/usr/share/nathive
42 cp -a stuff/nathive.desktop $fs/usr/share/applications
44 }