wok-current annotate printoxx/receipt @ rev 8572

imported patch get/snort
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents bf6da8639d66
children 51a1ebbda768
rev   line source
jozee@2936 1 # SliTaz package receipt.
jozee@2936 2
jozee@2936 3 PACKAGE="printoxx"
gokhlayeh@6341 4 VERSION="2.8.1"
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"
gokhlayeh@7034 7 MAINTAINER="gokhlayeh@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 }