wok-4.x annotate printoxx/receipt @ rev 6054

exo: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 18 09:37:20 2010 +0200 (2010-08-18)
parents f3327707164a
children bf6da8639d66
rev   line source
jozee@2936 1 # SliTaz package receipt.
jozee@2936 2
jozee@2936 3 PACKAGE="printoxx"
gokhlayeh@5870 4 VERSION="2.7"
jozee@2936 5 CATEGORY="graphics"
jozee@2936 6 SHORT_DESC="fotoxx plugin for printing one or more image files with a user-defined page layout"
jozee@2936 7 MAINTAINER="jozee@slitaz.org"
gokhlayeh@5870 8 DEPENDS="gtk+ "
jozee@2936 9 BUILD_DEPENDS="gtk+-dev"
gokhlayeh@5870 10 SUGGESTED="fotoxx"
jozee@2936 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2936 12 WEB_SITE="http://kornelix.squarespace.com/printoxx"
jozee@2936 13 WGET_URL="http://kornelix.squarespace.com/storage/downloads/$TARBALL"
jozee@2936 14 TAGS="print images jpeg jpg bmp png gif"
jozee@2936 15
jozee@2936 16 # Rules to configure and make the package.
jozee@2936 17 compile_rules()
jozee@2936 18 {
jozee@2936 19 cd $src
jozee@2936 20 export PREFIX=/usr make
jozee@2936 21 make DESTDIR=$PWD/_pkg install
jozee@2936 22
jozee@2936 23 }
jozee@2936 24
jozee@2936 25 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2936 26 genpkg_rules()
jozee@2936 27 {
jozee@2936 28 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales $fs/usr/share/applications
jozee@2936 29 cp -a $_pkg/usr/bin $fs/usr
jozee@2936 30 cp -a $_pkg/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE
jozee@2936 31 #non-standard local path
gokhlayeh@5870 32 cp -a $_pkg/usr/share/$PACKAGE/locales/* $fs/usr/share/$PACKAGE/locales/
jozee@2936 33 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
gokhlayeh@5870 34 }