wok-stable annotate printoxx/receipt @ rev 5643
Up lguest 2.6.24
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 28 22:15:48 2010 +0200 (2010-05-28) |
parents | ec31ce5febc9 |
children | 539e5f4f40a5 |
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" |
pascal@5005 | 8 DEPENDS="gtk+ gcc-lib-base" |
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 } |