wok-6.x view pysize/receipt @ rev 25053

Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 19:53:43 2022 +0000 (2022-06-05)
parents 5d50a02468c7
children
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 python-setuptools"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/pysize-/!d;/tar/!d;s|.*pysize-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }