wok-6.x view pysize/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 7896f0694ef6
children 5d50a02468c7
line source
1 # SliTaz package receipt.
3 PACKAGE="pysize"
4 VERSION="0.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Console and graphical tool for exploring the size of directories."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://guichaz.free.fr/pysize/"
11 WGET_URL="http://guichaz.free.fr/pysize/files/$TARBALL"
13 DEPENDS="python ncurses pygtk librsvg"
14 BUILD_DEPENDS="python-dev ncurses-dev pygtk-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py build
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }