
Receipt for package "gutenpy"
# SliTaz package receipt. PACKAGE="gutenpy" VERSION="0.3.0" CATEGORY="office" SHORT_DESC="A text reader and catalog browser for project Gutenburg." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://gutenpy.sourceforge.net/" WGET_URL="http://prdownloads.sourceforge.net/gutenpy/$TARBALL" DEPENDS="python pygtk" BUILD_DEPENDS="python python-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/gutenpy/files/gutenpy/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/gutenpy/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { # Fix missing .desktop file sed -i '/share\/applications/d' setup.py sed -i '/gutenpy.desktop/d' setup.py python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs # Add gutenpy.desktop file cp -a stuff/* $fs }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)