wok-next view gutenpy/receipt @ rev 17170
fusecloop: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 23 12:07:01 2014 +0200 (2014-09-23) |
parents | b8b131bc573c |
children | 16df76e1fc6a |
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 cd $src
21 # Fix missing .desktop file
22 sed -i '/share\/applications/d' setup.py
23 sed -i '/gutenpy.desktop/d' setup.py
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 # Add gutenpy.desktop file
32 cp -a stuff/* $fs
33 }