wok-6.x annotate python-gazpacho/receipt @ rev 15480
memtest: default setup size = 4
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 11:19:32 2013 +0000 (2013-11-10) |
parents | 22165a2fb1b5 |
children | d3eb5f4b53ea |
rev | line source |
---|---|
claudinei@3833 | 1 # SliTaz package receipt. |
claudinei@3833 | 2 |
claudinei@3833 | 3 PACKAGE="python-gazpacho" |
claudinei@3833 | 4 SOURCE="gazpacho" |
claudinei@3833 | 5 VERSION="0.7.2" |
claudinei@3833 | 6 CATEGORY="development" |
claudinei@3833 | 7 SHORT_DESC="A GUI builder for the GTK+ toolkit" |
claudinei@3833 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 9 LICENSE="LGPL2.1" |
claudinei@3833 | 10 SUGGESTED="twisted" |
claudinei@3833 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3833 | 12 WEB_SITE="http://gazpacho.sicem.biz" |
claudinei@3833 | 13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/0.7/$TARBALL" |
claudinei@3833 | 14 |
pascal@15378 | 15 DEPENDS="python pygtk python-kiwi" |
pascal@15378 | 16 BUILD_DEPENDS="python python-dev pygtk python-kiwi" |
pascal@15378 | 17 |
claudinei@3833 | 18 # Rules to configure and make the package. |
claudinei@3833 | 19 compile_rules() |
claudinei@3833 | 20 { |
claudinei@3833 | 21 cd $src |
slaxemulator@9012 | 22 python setup.py install --root=$DESTDIR || return 1 |
slaxemulator@9012 | 23 mkdir -p $DESTDIR/usr/share/locale/pt |
slaxemulator@9012 | 24 cp -a locale/fr $DESTDIR/usr/share/locale |
slaxemulator@9012 | 25 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt |
claudinei@3833 | 26 } |
claudinei@3833 | 27 |
claudinei@3833 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3833 | 29 genpkg_rules() |
claudinei@3833 | 30 { |
slaxemulator@9012 | 31 mkdir -p $fs/usr/share |
pascal@15378 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15378 | 33 cp -a $install/usr/lib $fs/usr |
pascal@15378 | 34 cp -a $install/usr/share $fs/usr |
claudinei@3833 | 35 } |
claudinei@3833 | 36 |