wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="moonshiner"
4 VERSION="1.0"
5 CATEGORY="office"
6 SHORT_DESC="GUI for Ghostscript's PostScript-to-PDF converter."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://moonshiner.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python pygtk ghostscript"
14 BUILD_DEPENDS="python-dev pygtk-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 }