wok-6.x annotate stoqlib/receipt @ rev 8470
Up: transmission to 2.20.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 16:36:59 2011 +0000 (2011-02-07) |
parents | 00cf8f7561a9 |
children | 00fefa6ebb77 |
rev | line source |
---|---|
claudinei@3835 | 1 # SliTaz package receipt. |
claudinei@3835 | 2 |
claudinei@3835 | 3 PACKAGE="stoqlib" |
claudinei@4687 | 4 VERSION="0.9.11" |
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 |
claudinei@3835 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@3835 | 21 } |
claudinei@3835 | 22 |
claudinei@3835 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3835 | 24 genpkg_rules() |
claudinei@3835 | 25 { |
claudinei@3835 | 26 LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale" |
claudinei@3835 | 27 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3835 | 28 rm $file |
claudinei@3835 | 29 done |
claudinei@3835 | 30 mkdir -p $fs/usr/share/locale/pt |
claudinei@3835 | 31 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3835 | 32 cp -a $_pkg/usr/share $fs/usr |
claudinei@3835 | 33 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3835 | 34 } |
claudinei@3835 | 35 |