wok annotate printoxx/receipt @ rev 13581

Autofs: copy content to proper paths
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Nov 06 01:33:15 2012 -0200 (2012-11-06)
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 }