SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pysize"

# SliTaz package receipt.

PACKAGE="pysize"
VERSION="0.2"
CATEGORY="utilities"
SHORT_DESC="Console and graphical tool for exploring the size of directories."
MAINTAINER="paul@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://guichaz.free.fr/pysize/"
WGET_URL="http://guichaz.free.fr/pysize/files/$TARBALL"

DEPENDS="python ncurses pygtk librsvg"
BUILD_DEPENDS="python-dev ncurses-dev pygtk-dev python-setuptools"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/pysize-/!d;/tar/!d;s|.*pysize-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)