wok annotate moonshiner/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
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 }