wok-next annotate stoq/receipt @ rev 20728

lcms2: produce static lib again (to fix optipng-static build)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 11:18:30 2018 +0300 (2018-05-29)
parents c4f226b02549
children 680393ac1f5c
rev   line source
claudinei@3836 1 # SliTaz package receipt.
claudinei@3836 2
claudinei@3836 3 PACKAGE="stoq"
gokhlayeh@8680 4 VERSION="0.9.12"
claudinei@3836 5 CATEGORY="office"
claudinei@3836 6 SHORT_DESC="Stoq is a suite of Retail Management System applications."
claudinei@3836 7 MAINTAINER="claudinei@slitaz.org"
pascal@15581 8 LICENSE="GPL2"
pascal@15581 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15581 10 WEB_SITE="http://www.stoq.com.br"
pascal@15581 11 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
pascal@15581 12
claudinei@3836 13 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
claudinei@3836 14 python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho"
pascal@20113 15 BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib gettext-tools"
claudinei@3836 16
claudinei@3836 17 # Rules to configure and make the package.
claudinei@3836 18 compile_rules()
claudinei@3836 19 {
gokhlayeh@8680 20 python setup.py install --root=$DESTDIR
claudinei@3836 21 }
claudinei@3836 22
claudinei@3836 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3836 24 genpkg_rules()
claudinei@3836 25 {
pascal@15581 26 LOCALEDIR="$install/usr/share/locale"
pascal@15581 27 for file in `find $install | grep 'pyc$'`; do
claudinei@3836 28 rm $file
claudinei@3836 29 done
claudinei@3836 30 mkdir -p $fs/usr/share/locale/pt $fs/etc
pascal@15581 31 cp -a $install/etc/stoq $fs/etc
pascal@15581 32 cp -a $install/usr/bin $fs/usr
pascal@15581 33 cp -a $install/usr/lib $fs/usr
pascal@15581 34 cp -a $install/usr/share $fs/usr
claudinei@3836 35 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
claudinei@3836 36 }