wok annotate stoqlib/receipt @ rev 18204
Up openexr (2.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 15 10:18:19 2015 +0200 (2015-07-15) |
parents | 00fefa6ebb77 |
children | b7f1bd1b9ac7 |
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" |
pascal@15581 | 8 LICENSE="LGPL2.1" |
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@3835 | 13 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ |
claudinei@3835 | 14 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil" |
claudinei@3835 | 15 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \ |
claudinei@3835 | 16 psycopg2 stoqdrivers python-pil python-reportlab python-dateutil" |
claudinei@3835 | 17 |
claudinei@3835 | 18 # Rules to configure and make the package. |
claudinei@3835 | 19 compile_rules() |
claudinei@3835 | 20 { |
claudinei@3835 | 21 cd $src |
gokhlayeh@8680 | 22 chmod +x setup.py |
gokhlayeh@8680 | 23 python setup.py install --root=$DESTDIR |
claudinei@3835 | 24 } |
claudinei@3835 | 25 |
claudinei@3835 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3835 | 27 genpkg_rules() |
claudinei@3835 | 28 { |
pascal@15581 | 29 LOCALEDIR="$install/usr/share/locale" |
pascal@15581 | 30 for file in `find $install | grep 'pyc$'`; do |
claudinei@3835 | 31 rm $file |
claudinei@3835 | 32 done |
claudinei@3835 | 33 mkdir -p $fs/usr/share/locale/pt |
pascal@15581 | 34 cp -a $install/usr/lib $fs/usr |
pascal@15581 | 35 cp -a $install/usr/share $fs/usr |
claudinei@3835 | 36 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3835 | 37 } |
claudinei@3835 | 38 |