wok-current annotate python-gazpacho/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | d3eb5f4b53ea |
children | e66efc062996 |
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" |
pascal@17869 | 13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$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 { |
slaxemulator@9012 | 21 python setup.py install --root=$DESTDIR || return 1 |
slaxemulator@9012 | 22 mkdir -p $DESTDIR/usr/share/locale/pt |
slaxemulator@9012 | 23 cp -a locale/fr $DESTDIR/usr/share/locale |
slaxemulator@9012 | 24 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt |
claudinei@3833 | 25 } |
claudinei@3833 | 26 |
claudinei@3833 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3833 | 28 genpkg_rules() |
claudinei@3833 | 29 { |
slaxemulator@9012 | 30 mkdir -p $fs/usr/share |
pascal@15378 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15378 | 32 cp -a $install/usr/lib $fs/usr |
pascal@15378 | 33 cp -a $install/usr/share $fs/usr |
claudinei@3833 | 34 } |
al@18077 | 35 |