wok annotate fotoxx/receipt @ rev 9112
taglib: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 10:44:27 2011 +0100 (2011-03-05) |
parents | 73e6a906d6c3 |
children | 061365119fa9 |
rev | line source |
---|---|
jozee@2727 | 1 # SliTaz package receipt. |
slaxemulator@7564 | 2 |
jozee@2727 | 3 PACKAGE="fotoxx" |
slaxemulator@8447 | 4 VERSION="11.02" |
jozee@2727 | 5 CATEGORY="graphics" |
jozee@2727 | 6 SHORT_DESC="lightweight image editor" |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@5869 | 8 DEPENDS="gtk+" |
pascal@8940 | 9 BUILD_DEPENDS="exiftool gtk+-dev freeimage freeimage-dev xdg-utils" |
gokhlayeh@5869 | 10 SUGGESTED="exiftool ufraw printoxx" |
jozee@2727 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2727 | 12 WEB_SITE="http://kornelix.squarespace.com/fotoxx" |
jozee@2727 | 13 WGET_URL="http://kornelix.squarespace.com/storage/downloads/$TARBALL" |
jozee@2935 | 14 TAGS="image editor photo jpeg jpg bmp png gif" |
jozee@2727 | 15 |
jozee@2727 | 16 # Rules to configure and make the package. |
jozee@2727 | 17 compile_rules() |
jozee@2727 | 18 { |
jozee@2727 | 19 cd $src |
jozee@2727 | 20 export PREFIX=/usr make |
jozee@2727 | 21 make DESTDIR=$PWD/_pkg install |
jozee@2727 | 22 } |
jozee@2727 | 23 |
jozee@2727 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2727 | 25 genpkg_rules() |
jozee@2727 | 26 { |
slaxemulator@7564 | 27 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales |
jozee@2727 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@2935 | 29 cp -a $_pkg/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE |
jozee@2935 | 30 #non-standard locale path |
gokhlayeh@5869 | 31 cp -a $_pkg/usr/share/$PACKAGE/locales/* $fs/usr/share/$PACKAGE/locales/ |
jozee@2727 | 32 } |