wok-next annotate gutenpy/receipt @ rev 21196
updated scrollz again (2.2.3 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 16:09:40 2019 +0100 (2019-10-03) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
paul@4703 | 2 |
paul@4703 | 3 PACKAGE="gutenpy" |
paul@4703 | 4 VERSION="0.3.0" |
paul@4703 | 5 CATEGORY="office" |
al@21017 | 6 SHORT_DESC="A text reader and catalog browser for project Gutenburg" |
paul@4703 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
al@21017 | 9 WEB_SITE="http://gutenpy.sourceforge.net/" |
al@21017 | 10 |
paul@4703 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21017 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@4703 | 13 |
al@20932 | 14 BUILD_DEPENDS="python-dev" |
pascal@15589 | 15 |
al@21017 | 16 compile_rules() { |
paul@4703 | 17 # Fix missing .desktop file |
al@21017 | 18 sed -i '/share\/applications/d; /gutenpy.desktop/d' setup.py |
al@21017 | 19 |
al@21020 | 20 python -B setup.py install --root=$install |
paul@4703 | 21 } |
paul@4703 | 22 |
al@21017 | 23 genpkg_rules() { |
pascal@15589 | 24 cp -a $install/usr $fs |
paul@4703 | 25 # Add gutenpy.desktop file |
al@21020 | 26 cp -a $stuff/* $fs |
al@21017 | 27 DEPENDS="python python-pygtk" |
paul@4703 | 28 } |