wok view pysize/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
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 }