wok-next annotate nathive/receipt @ rev 11113
ptlib: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 25 08:48:31 2011 +0200 (2011-10-25) |
parents | bee79018e13a |
children | c10e7f955563 |
rev | line source |
---|---|
jozee@2730 | 1 # SliTaz package receipt. |
jozee@2730 | 2 |
jozee@2730 | 3 PACKAGE="nathive" |
jozee@2730 | 4 VERSION="0.813" |
jozee@2730 | 5 CATEGORY="graphics" |
jozee@2730 | 6 SHORT_DESC="lightweight image editor" |
jozee@2730 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2844 | 8 DEPENDS="gtk+" |
jozee@2730 | 9 BUILD_DEPENDS="pkg-config gtk+-dev" |
jozee@2730 | 10 TARBALL="${PACKAGE}_${VERSION}_source.tar.gz" |
jozee@2730 | 11 WEB_SITE="http://www.nathive.org/" |
jozee@2730 | 12 WGET_URL="$WEB_SITE/get/$TARBALL" |
jozee@4969 | 13 TAGS="image photo editor" |
jozee@2730 | 14 |
jozee@2730 | 15 # Rules to configure and make the package. |
jozee@2730 | 16 compile_rules() |
jozee@2730 | 17 { |
jozee@2730 | 18 cd $src |
jozee@2730 | 19 sed 's|"./"|"/usr/share/nathive/"|g' -i main.c |
jozee@2730 | 20 make |
jozee@2730 | 21 } |
jozee@2730 | 22 |
jozee@2730 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2730 | 24 genpkg_rules() |
jozee@2730 | 25 { |
slaxemulator@8751 | 26 mkdir -p $fs/usr/bin |
slaxemulator@8751 | 27 mkdir -p $fs/usr/share/nathive |
jozee@2730 | 28 mkdir -p $fs/usr/share/applications |
jozee@2730 | 29 |
slaxemulator@8751 | 30 cp -a $src/nathive $fs/usr/bin |
jozee@2730 | 31 |
slaxemulator@8751 | 32 cp -a $src/cfg/ $src/img/ $src/palettes/ $src/text/ $fs/usr/share/nathive/ |
jozee@2730 | 33 #copy locale : it only adds 4k |
slaxemulator@8751 | 34 cp -a $src/lang/ $fs/usr/share/nathive/ |
jozee@2730 | 35 # change owner and permissions |
jozee@2730 | 36 chown -R root.root $fs/usr/share/nathive |
jozee@2730 | 37 chmod -R 0755 $fs/usr/share/nathive |
jozee@2730 | 38 |
slaxemulator@8751 | 39 cp -a $stuff/nathive.desktop $fs/usr/share/applications |
jozee@2730 | 40 |
jozee@2730 | 41 } |