wok-next annotate moonshiner/receipt @ rev 5855
xfmedia: fix compile_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 17 00:19:22 2010 +0200 (2010-07-17) |
parents | |
children | bb009a6ef036 |
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 } |