wok-next view gutenpy/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://gutenpy.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="python-dev"
16 compile_rules() {
17 # Fix missing .desktop file
18 sed -i '/share\/applications/d; /gutenpy.desktop/d' setup.py
20 python -B setup.py install --root=$install
21 }
23 genpkg_rules() {
24 cp -a $install/usr $fs
25 # Add gutenpy.desktop file
26 cp -a $stuff/* $fs
27 DEPENDS="python python-pygtk"
28 }