wok-next annotate stoqdrivers/receipt @ rev 20380
qtwebkit: up deps, cflags
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Nov 27 13:21:54 2017 +0100 (2017-11-27) |
parents | c4f226b02549 |
children | a3254b6a96ac |
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@20113 | 15 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface \ |
pascal@20113 | 16 gettext-tools" |
pascal@15581 | 17 |
claudinei@3834 | 18 # Rules to configure and make the package. |
claudinei@3834 | 19 compile_rules() |
claudinei@3834 | 20 { |
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 } |