wok-stable annotate moonshiner/receipt @ rev 9072
wqy-microhei, wqy-bitmapfont: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 15:45:23 2011 +0100 (2011-03-04) |
parents | |
children |
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" |
pankso@4335 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4335 | 9 DEPENDS="python pygtk ghostscript" |
pankso@4335 | 10 BUILD_DEPENDS="python-dev pygtk-dev" |
pankso@4335 | 11 WEB_SITE="http://moonshiner.sourceforge.net/" |
pankso@4335 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@4335 | 13 |
pankso@4335 | 14 # Rules to configure and make the package. |
pankso@4335 | 15 compile_rules() |
pankso@4335 | 16 { |
pankso@4335 | 17 cd $src |
pankso@4335 | 18 python setup.py install --root=$PWD/_pkg |
pankso@4335 | 19 } |
pankso@4335 | 20 |
pankso@4335 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4335 | 22 genpkg_rules() |
pankso@4335 | 23 { |
pankso@4335 | 24 mkdir -p $fs/usr |
pankso@4335 | 25 cp -a $_pkg/usr/bin $fs/usr |
pankso@4335 | 26 cp -a $_pkg/usr/lib $fs/usr |
pankso@4335 | 27 } |