wok-6.x view python-gazpacho/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | d3eb5f4b53ea |
children | e66efc062996 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-gazpacho"
4 SOURCE="gazpacho"
5 VERSION="0.7.2"
6 CATEGORY="development"
7 SHORT_DESC="A GUI builder for the GTK+ toolkit"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="LGPL2.1"
10 SUGGESTED="twisted"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://gazpacho.sicem.biz"
13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL"
15 DEPENDS="python pygtk python-kiwi"
16 BUILD_DEPENDS="python python-dev pygtk python-kiwi"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR || return 1
22 mkdir -p $DESTDIR/usr/share/locale/pt
23 cp -a locale/fr $DESTDIR/usr/share/locale
24 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share $fs/usr
34 }