wok-next annotate stoqlib/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | c022997c7a57 |
children | d5aab818505e |
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 |
al@20976 | 15 DEPENDS="python python-pygtk postgresql python-psycopg2 python-zope.interface python-pil \ |
claudinei@3835 | 16 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil" |
al@20976 | 17 BUILD_DEPENDS="python python-dev python-zope.interface python-kiwi python-gazpacho \ |
al@20926 | 18 python-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 } |