wok annotate printoxx/receipt @ rev 15692

dpkg: Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 08:21:32 2013 +0100 (2013-12-21)
parents af022550edde
children
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"
pascal@15375 8 LICENSE="GPL3"
gokhlayeh@5870 9 SUGGESTED="fotoxx"
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
pascal@15375 15 DEPENDS="gtk+ "
pascal@15375 16 BUILD_DEPENDS="gtk+-dev"
pascal@15375 17
jozee@2936 18 # Rules to configure and make the package.
jozee@2936 19 compile_rules()
jozee@2936 20 {
jozee@2936 21 cd $src
jozee@2936 22 export PREFIX=/usr make
pascal@15375 23 make DESTDIR=$DESTDIR install
jozee@2936 24
jozee@2936 25 }
jozee@2936 26
jozee@2936 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2936 28 genpkg_rules()
jozee@2936 29 {
jozee@2936 30 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales $fs/usr/share/applications
pascal@15375 31 cp -a $install/usr/bin $fs/usr
pascal@15375 32 cp -a $install/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE
jozee@2936 33 #non-standard local path
pascal@15375 34 cp -a $install/usr/share/$PACKAGE/locales/* $fs/usr/share/$PACKAGE/locales/
jozee@2936 35 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
gokhlayeh@5870 36 }