wok-current view pysize/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
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 }