wok-6.x annotate python-gazpacho/receipt @ rev 9009
python-gazpacho: remove LOCALEDIR path (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 18:30:45 2011 +0100 (2011-03-03) |
parents | 1264814fa42b |
children | 22165a2fb1b5 |
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" |
claudinei@3833 | 9 DEPENDS="python pygtk python-kiwi" |
claudinei@3833 | 10 BUILD_DEPENDS="python python-dev pygtk python-kiwi" |
claudinei@3833 | 11 SUGGESTED="twisted" |
claudinei@3833 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3833 | 13 WEB_SITE="http://gazpacho.sicem.biz" |
claudinei@3833 | 14 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/0.7/$TARBALL" |
claudinei@3833 | 15 |
claudinei@3833 | 16 # Rules to configure and make the package. |
claudinei@3833 | 17 compile_rules() |
claudinei@3833 | 18 { |
claudinei@3833 | 19 cd $src |
pascal@9008 | 20 python setup.py install --root=$_pkg || return 1 |
pascal@9008 | 21 mkdir -p $_pkg/usr/share/locale/pt |
pascal@9009 | 22 cp -a locale/fr $_pkg/usr/share/locale |
pascal@9009 | 23 cp -a locale/pt_BR/LC_MESSAGES $_pkg/usr/share/locale/pt |
claudinei@3833 | 24 } |
claudinei@3833 | 25 |
claudinei@3833 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3833 | 27 genpkg_rules() |
claudinei@3833 | 28 { |
claudinei@3833 | 29 mkdir -p $fs/usr/share/locale/pt |
claudinei@3833 | 30 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3833 | 31 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3833 | 32 cp -a $_pkg/usr/share $fs/usr |
claudinei@3833 | 33 } |
claudinei@3833 | 34 |