wok annotate moonshiner/receipt @ rev 17675
nmon: keep source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:21:08 2015 +0100 (2015-02-18) |
parents | f7de826b263e |
children | 16df76e1fc6a |
rev | line source |
---|---|
pankso@4335 | 1 # SliTaz package receipt. |
pankso@4335 | 2 |
pankso@4335 | 3 PACKAGE="moonshiner" |
pankso@4335 | 4 VERSION="1.0" |
pankso@4335 | 5 CATEGORY="office" |
pankso@4335 | 6 SHORT_DESC="GUI for Ghostscript's PostScript-to-PDF converter." |
pankso@4335 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL3" |
pankso@4335 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15583 | 10 WEB_SITE="http://moonshiner.sourceforge.net/" |
pascal@15583 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15583 | 12 |
pankso@4335 | 13 DEPENDS="python pygtk ghostscript" |
pankso@4335 | 14 BUILD_DEPENDS="python-dev pygtk-dev" |
pankso@4335 | 15 |
pankso@4335 | 16 # Rules to configure and make the package. |
pankso@4335 | 17 compile_rules() |
pankso@4335 | 18 { |
pankso@4335 | 19 cd $src |
pascal@15583 | 20 python setup.py install --root=$DESTDIR |
pankso@4335 | 21 } |
pankso@4335 | 22 |
pankso@4335 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4335 | 24 genpkg_rules() |
pankso@4335 | 25 { |
pankso@4335 | 26 mkdir -p $fs/usr |
pascal@15583 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 28 cp -a $install/usr/lib $fs/usr |
pankso@4335 | 29 } |