wok-stable diff stoq/receipt @ rev 4579

Add: libffcall
author Paul Issott <paul@slitaz.org>
date Wed Dec 09 21:05:02 2009 +0000 (2009-12-09)
parents
children 822e03f5288d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stoq/receipt	Wed Dec 09 21:05:02 2009 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="stoq"
     1.7 +VERSION="0.9.10"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Stoq is a suite of Retail Management System applications."
    1.10 +MAINTAINER="claudinei@slitaz.org"
    1.11 +DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
    1.12 +python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho"
    1.13 +BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.stoq.com.br"
    1.16 +WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	sed -i "s/STOQLIB_REQUIRED = '0.9.9'/STOQLIB_REQUIRED = '0.9.10'/" \
    1.23 +		setup.py
    1.24 +	python setup.py install --root=$PWD/_pkg
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    1.31 +	for file in `find $_pkg | grep 'pyc$'`; do
    1.32 +		rm $file
    1.33 +	done
    1.34 +	mkdir -p $fs/usr/share/locale/pt $fs/etc
    1.35 +	cp -a $_pkg/etc/stoq $fs/etc
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	cp -a $_pkg/usr/lib $fs/usr
    1.38 +	cp -a $_pkg/usr/share $fs/usr
    1.39 +	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.40 +}
    1.41 +