wok annotate moonshiner/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | bb009a6ef036 |
children | afae00265386 |
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 { |
pascal@15583 | 19 python setup.py install --root=$DESTDIR |
pankso@4335 | 20 } |
pankso@4335 | 21 |
pankso@4335 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4335 | 23 genpkg_rules() |
pankso@4335 | 24 { |
pankso@4335 | 25 mkdir -p $fs/usr |
pascal@15583 | 26 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 27 cp -a $install/usr/lib $fs/usr |
pankso@4335 | 28 } |