wok view nathive/receipt @ rev 6498

Up: libv4l, libv4l-dev to 0.8.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 01 04:09:43 2010 +0000 (2010-10-01)
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 }