wok-next annotate gutenpy/receipt @ rev 20932
pygtk -> python-pygtk
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 10:22:21 2018 +0300 (2018-08-23) |
parents | 16df76e1fc6a |
children | f48456621a9d |
rev | line source |
---|---|
paul@4703 | 1 # SliTaz package receipt. |
paul@4703 | 2 |
paul@4703 | 3 PACKAGE="gutenpy" |
paul@4703 | 4 VERSION="0.3.0" |
paul@4703 | 5 CATEGORY="office" |
paul@4703 | 6 SHORT_DESC="A text reader and catalog browser for project Gutenburg." |
paul@4703 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
paul@4703 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4703 | 10 WEB_SITE="http://gutenpy.sourceforge.net/" |
paul@4703 | 11 WGET_URL="http://prdownloads.sourceforge.net/gutenpy/$TARBALL" |
paul@4703 | 12 |
al@20932 | 13 DEPENDS="python python-pygtk" |
al@20932 | 14 BUILD_DEPENDS="python-dev" |
pascal@15589 | 15 |
paul@4703 | 16 # Rules to configure and make the package. |
paul@4703 | 17 compile_rules() |
paul@4703 | 18 { |
paul@4703 | 19 # Fix missing .desktop file |
paul@4703 | 20 sed -i '/share\/applications/d' setup.py |
paul@4703 | 21 sed -i '/gutenpy.desktop/d' setup.py |
pascal@15589 | 22 python setup.py install --root=$DESTDIR |
paul@4703 | 23 } |
paul@4703 | 24 |
paul@4703 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4703 | 26 genpkg_rules() |
paul@4703 | 27 { |
pascal@15589 | 28 cp -a $install/usr $fs |
paul@4703 | 29 # Add gutenpy.desktop file |
paul@4703 | 30 cp -a stuff/* $fs |
paul@4703 | 31 } |