wok-4.x annotate stoqlib/receipt @ rev 12196
bluefish, libfm, obconf, pcmanfm, shared-mime-info, xournal, zim: fix update-mime-database post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 26 16:18:20 2012 +0200 (2012-03-26) |
parents | 822e03f5288d |
children |
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 |