wok view python-kiwi/receipt @ rev 9069

squirrelmail-smallcal: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 14:43:55 2011 +0100 (2011-03-04)
parents c94be6079e87
children cb08393c985d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-kiwi"
4 SOURCE="kiwi"
5 VERSION="1.9.26"
6 CATEGORY="development"
7 SHORT_DESC="A framework for python applications with graphical user interfaces."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python gtk+ pygtk"
10 SUGGESTED="gazpacho zopeinterface libglade"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.async.com.br/projects/kiwi"
13 WGET_URL="http://download.gnome.org/sources/kiwi/1.9/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$DESTDIR
20 mkdir -p $DESTDIR/usr/share/locale/pt
21 cp -a locale/fr $DESTDIR/usr/share/locale
22 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/gazpacho $fs/usr/share
32 cp -a $_pkg/usr/share/kiwi $fs/usr/share
33 }