wok-next view gutenpy/receipt @ rev 20420

linux-dev: up 4.9.76
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 11 15:21:05 2018 +0200 (2018-01-11)
parents d1c17bd2c2bc
children c022997c7a57
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Fix missing .desktop file
20 sed -i '/share\/applications/d' setup.py
21 sed -i '/gutenpy.desktop/d' setup.py
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 # Add gutenpy.desktop file
30 cp -a stuff/* $fs
31 }