wok annotate stoqlib/receipt @ rev 10541

enlightenment: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 18:56:54 2011 +0200 (2011-05-25)
parents 822e03f5288d
children c4f226b02549
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"
claudinei@3835 8 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
claudinei@3835 9 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
claudinei@3835 10 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
claudinei@3835 11 psycopg2 stoqdrivers python-pil python-reportlab python-dateutil"
claudinei@3835 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@3835 13 WEB_SITE="http://www.stoq.com.br"
claudinei@3835 14 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
claudinei@3835 15
claudinei@3835 16 # Rules to configure and make the package.
claudinei@3835 17 compile_rules()
claudinei@3835 18 {
claudinei@3835 19 cd $src
gokhlayeh@8680 20 chmod +x setup.py
gokhlayeh@8680 21 python setup.py install --root=$DESTDIR
claudinei@3835 22 }
claudinei@3835 23
claudinei@3835 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3835 25 genpkg_rules()
claudinei@3835 26 {
gokhlayeh@8680 27 LOCALEDIR="$_pkg/usr/share/locale"
claudinei@3835 28 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3835 29 rm $file
claudinei@3835 30 done
claudinei@3835 31 mkdir -p $fs/usr/share/locale/pt
claudinei@3835 32 cp -a $_pkg/usr/lib $fs/usr
claudinei@3835 33 cp -a $_pkg/usr/share $fs/usr
claudinei@3835 34 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
claudinei@3835 35 }
claudinei@3835 36