wok-next annotate fotoxx/receipt @ rev 10147

glibc: we always want a native build like for GCC
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 21 00:04:18 2011 +0200 (2011-05-21)
parents 59009b1c6878
children ffcce0571b63
rev   line source
jozee@2727 1 # SliTaz package receipt.
slaxemulator@7564 2
jozee@2727 3 PACKAGE="fotoxx"
slaxemulator@9451 4 VERSION="11.04"
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 }