wok-next view pysize/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | 16df76e1fc6a |
children | c022997c7a57 |
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"
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 }