wok-next annotate stoqlib/receipt @ rev 20888
Check Repology info from q* to x* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 14 17:43:03 2018 +0300 (2018-07-14) |
parents | cc633e7b15aa |
children | 680393ac1f5c |
rev | line source |
---|---|
claudinei@3835 | 1 # SliTaz package receipt. |
claudinei@3835 | 2 |
claudinei@3835 | 3 PACKAGE="stoqlib" |
gokhlayeh@8680 | 4 VERSION="0.9.12" |
claudinei@3835 | 5 CATEGORY="development" |
claudinei@3835 | 6 SHORT_DESC="A powerful retail system library" |
claudinei@3835 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15581 | 8 LICENSE="LGPL2.1" |
al@20888 | 9 WEB_SITE="http://www.stoq.com.br" |
al@20888 | 10 REPOLOGY="stoq" |
al@20888 | 11 |
pascal@15581 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15581 | 13 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" |
pascal@15581 | 14 |
claudinei@3835 | 15 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ |
claudinei@3835 | 16 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil" |
claudinei@3835 | 17 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \ |
pascal@20113 | 18 psycopg2 stoqdrivers python-pil python-reportlab python-dateutil gettext-tools" |
claudinei@3835 | 19 |
claudinei@3835 | 20 # Rules to configure and make the package. |
claudinei@3835 | 21 compile_rules() |
claudinei@3835 | 22 { |
gokhlayeh@8680 | 23 chmod +x setup.py |
gokhlayeh@8680 | 24 python setup.py install --root=$DESTDIR |
claudinei@3835 | 25 } |
claudinei@3835 | 26 |
claudinei@3835 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3835 | 28 genpkg_rules() |
claudinei@3835 | 29 { |
pascal@15581 | 30 LOCALEDIR="$install/usr/share/locale" |
pascal@15581 | 31 for file in `find $install | grep 'pyc$'`; do |
claudinei@3835 | 32 rm $file |
claudinei@3835 | 33 done |
claudinei@3835 | 34 mkdir -p $fs/usr/share/locale/pt |
pascal@15581 | 35 cp -a $install/usr/lib $fs/usr |
pascal@15581 | 36 cp -a $install/usr/share $fs/usr |
claudinei@3835 | 37 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3835 | 38 } |