wok-current annotate pysize/receipt @ rev 25526

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (20 months ago)
parents 5d50a02468c7
children
rev   line source
pascal@14377 1 # SliTaz package receipt.
pascal@14377 2
pascal@14377 3 PACKAGE="pysize"
pascal@14377 4 VERSION="0.2"
pascal@14377 5 CATEGORY="utilities"
pascal@14377 6 SHORT_DESC="Console and graphical tool for exploring the size of directories."
pascal@14377 7 MAINTAINER="paul@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@14377 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14377 10 WEB_SITE="http://guichaz.free.fr/pysize/"
pascal@14377 11 WGET_URL="http://guichaz.free.fr/pysize/files/$TARBALL"
pascal@14377 12
pascal@15002 13 DEPENDS="python ncurses pygtk librsvg"
pascal@21581 14 BUILD_DEPENDS="python-dev ncurses-dev pygtk-dev python-setuptools"
pascal@15002 15
pascal@24459 16 # What is the latest version available today?
pascal@24459 17 current_version()
pascal@24459 18 {
pascal@24459 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24459 20 sed '/pysize-/!d;/tar/!d;s|.*pysize-||;s|.tar.*||;q'
pascal@24459 21 }
pascal@24459 22
pascal@14377 23 # Rules to configure and make the package.
pascal@14377 24 compile_rules()
pascal@14377 25 {
pascal@14377 26 python setup.py build
pascal@14377 27 python setup.py install --root=$DESTDIR
pascal@14377 28 }
pascal@14377 29
pascal@14377 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14377 31 genpkg_rules()
pascal@14377 32 {
pascal@14377 33 cp -a $install/usr $fs
pascal@14377 34 }