wok-current annotate printoxx/receipt @ rev 2936
Add: printoxx (print plugin for fotoxx)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 07 09:43:12 2009 +0000 (2009-05-07) |
parents | |
children | f3327707164a |
rev | line source |
---|---|
jozee@2936 | 1 # SliTaz package receipt. |
jozee@2936 | 2 |
jozee@2936 | 3 PACKAGE="printoxx" |
jozee@2936 | 4 VERSION="2.0" |
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" |
jozee@2936 | 8 DEPENDS="gtk+ " |
jozee@2936 | 9 BUILD_DEPENDS="gtk+-dev" |
jozee@2936 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2936 | 11 WEB_SITE="http://kornelix.squarespace.com/printoxx" |
jozee@2936 | 12 WGET_URL="http://kornelix.squarespace.com/storage/downloads/$TARBALL" |
jozee@2936 | 13 TAGS="print images jpeg jpg bmp png gif" |
jozee@2936 | 14 |
jozee@2936 | 15 # Rules to configure and make the package. |
jozee@2936 | 16 compile_rules() |
jozee@2936 | 17 { |
jozee@2936 | 18 cd $src |
jozee@2936 | 19 export PREFIX=/usr make |
jozee@2936 | 20 make DESTDIR=$PWD/_pkg install |
jozee@2936 | 21 |
jozee@2936 | 22 } |
jozee@2936 | 23 |
jozee@2936 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2936 | 25 genpkg_rules() |
jozee@2936 | 26 { |
jozee@2936 | 27 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales $fs/usr/share/applications |
jozee@2936 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@2936 | 29 cp -a $_pkg/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE |
jozee@2936 | 30 #non-standard local path |
jozee@2936 | 31 cp -a $_pkg/usr/share/$PACKAGE/locales/fr $fs/usr/share/$PACKAGE/locales/ |
jozee@2936 | 32 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications |
jozee@2936 | 33 } |