wok view gutenpy/receipt @ rev 25343
updated sysstat (12.3.2 -> 12.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:23:20 2022 +0100 (2022-07-25) |
parents | 16df76e1fc6a |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gutenpy"
4 VERSION="0.3.0"
5 CATEGORY="office"
6 SHORT_DESC="A text reader and catalog browser for project Gutenburg."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gutenpy.sourceforge.net/"
11 WGET_URL="http://prdownloads.sourceforge.net/gutenpy/$TARBALL"
13 DEPENDS="python pygtk"
14 BUILD_DEPENDS="python python-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/gutenpy/files/gutenpy/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/gutenpy/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # Fix missing .desktop file
28 sed -i '/share\/applications/d' setup.py
29 sed -i '/gutenpy.desktop/d' setup.py
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 # Add gutenpy.desktop file
38 cp -a stuff/* $fs
39 }