wok-next annotate stoqdrivers/receipt @ rev 8680
up stoq/stoqlib 0.9.12 & add some fix
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Feb 17 01:45:49 2011 +0100 (2011-02-17) |
parents | 822e03f5288d |
children | c4f226b02549 |
rev | line source |
---|---|
claudinei@3834 | 1 # SliTaz package receipt. |
claudinei@3834 | 2 |
claudinei@3834 | 3 PACKAGE="stoqdrivers" |
claudinei@4687 | 4 VERSION="0.9.8.2" |
claudinei@3834 | 5 CATEGORY="development" |
claudinei@3834 | 6 SHORT_DESC="Useful drivers for Stoq and retail systems" |
claudinei@3834 | 7 MAINTAINER="claudinei@slitaz.org" |
claudinei@3834 | 8 DEPENDS="python python-kiwi python-serial zopeinterface" |
claudinei@3834 | 9 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface" |
claudinei@3834 | 10 SUGGESTED="stoq" |
claudinei@3834 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@3834 | 12 WEB_SITE="http://www.stoq.com.br" |
claudinei@4687 | 13 WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL" |
claudinei@3834 | 14 |
claudinei@3834 | 15 # Rules to configure and make the package. |
claudinei@3834 | 16 compile_rules() |
claudinei@3834 | 17 { |
claudinei@3834 | 18 cd $src |
gokhlayeh@8680 | 19 python setup.py install --root=$DESTDIR |
claudinei@3834 | 20 } |
claudinei@3834 | 21 |
claudinei@3834 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3834 | 23 genpkg_rules() |
claudinei@3834 | 24 { |
gokhlayeh@8680 | 25 LOCALEDIR="$_pkg/usr/share/locale" |
claudinei@3834 | 26 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3834 | 27 rm $file |
claudinei@3834 | 28 done |
claudinei@3834 | 29 mkdir -p $fs/usr/share/locale/pt |
claudinei@3834 | 30 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3834 | 31 cp -a $_pkg/usr/share $fs/usr |
claudinei@3834 | 32 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3834 | 33 } |
claudinei@3834 | 34 |