wok diff stoqdrivers/receipt @ rev 4514

Up:gutenprint; Add gutenprint-dev
author Rohit Joshi <jozee@slitaz.org>
date Thu Nov 26 12:07:22 2009 +0000 (2009-11-26)
parents
children 822e03f5288d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stoqdrivers/receipt	Thu Nov 26 12:07:22 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="stoqdrivers"
     1.7 +VERSION="0.9.8"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Useful drivers for Stoq and retail systems"
    1.10 +MAINTAINER="claudinei@slitaz.org"
    1.11 +DEPENDS="python python-kiwi python-serial zopeinterface"
    1.12 +BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
    1.13 +SUGGESTED="stoq"
    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/0.9.10/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	python setup.py install --root=$PWD/_pkg
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    1.29 +	for file in `find $_pkg | grep 'pyc$'`; do
    1.30 +		rm $file
    1.31 +	done
    1.32 +	mkdir -p $fs/usr/share/locale/pt
    1.33 +	cp -a $_pkg/usr/lib $fs/usr
    1.34 +	cp -a $_pkg/usr/share $fs/usr
    1.35 +	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.36 +}
    1.37 +