wok annotate stoqdrivers/receipt @ rev 16550
ttf-dejavu, ttf-dejavu-extra: up (2.34); ttf-roboto, ttf-roboto-base: up (1.2); ttf-mgopen: fix wget url
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 29 19:18:57 2014 +0000 (2014-04-29) |
parents | 00fefa6ebb77 |
children | 2045eca96f37 |
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" |
pascal@15581 | 8 LICENSE="LGPL2.1" |
claudinei@3834 | 9 SUGGESTED="stoq" |
claudinei@3834 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@3834 | 11 WEB_SITE="http://www.stoq.com.br" |
claudinei@4687 | 12 WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL" |
claudinei@3834 | 13 |
pascal@15581 | 14 DEPENDS="python python-kiwi python-serial zopeinterface" |
pascal@15581 | 15 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface" |
pascal@15581 | 16 |
claudinei@3834 | 17 # Rules to configure and make the package. |
claudinei@3834 | 18 compile_rules() |
claudinei@3834 | 19 { |
claudinei@3834 | 20 cd $src |
gokhlayeh@8680 | 21 python setup.py install --root=$DESTDIR |
claudinei@3834 | 22 } |
claudinei@3834 | 23 |
claudinei@3834 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3834 | 25 genpkg_rules() |
claudinei@3834 | 26 { |
pascal@15581 | 27 LOCALEDIR="$install/usr/share/locale" |
pascal@15581 | 28 for file in `find $install | grep 'pyc$'`; do |
claudinei@3834 | 29 rm $file |
claudinei@3834 | 30 done |
claudinei@3834 | 31 mkdir -p $fs/usr/share/locale/pt |
pascal@15581 | 32 cp -a $install/usr/lib $fs/usr |
pascal@15581 | 33 cp -a $install/usr/share $fs/usr |
claudinei@3834 | 34 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3834 | 35 } |