wok annotate stoqlib/receipt @ rev 24869
Up zlib (1.2.12) CVE-2018-25032
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 30 20:15:06 2022 +0000 (2022-03-30) |
parents | c4f226b02549 |
children | 32a0c44693d5 |
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 |
pascal@24713 | 18 # What is the latest version available today? |
pascal@24713 | 19 current_version() |
pascal@24713 | 20 { |
pascal@24713 | 21 wget -O - https://github.com/stoq/stoq/tags 2>/dev/null | \ |
pascal@24713 | 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24713 | 23 } |
pascal@24713 | 24 |
claudinei@3835 | 25 # Rules to configure and make the package. |
claudinei@3835 | 26 compile_rules() |
claudinei@3835 | 27 { |
claudinei@3835 | 28 cd $src |
gokhlayeh@8680 | 29 chmod +x setup.py |
gokhlayeh@8680 | 30 python setup.py install --root=$DESTDIR |
claudinei@3835 | 31 } |
claudinei@3835 | 32 |
claudinei@3835 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3835 | 34 genpkg_rules() |
claudinei@3835 | 35 { |
pascal@15581 | 36 LOCALEDIR="$install/usr/share/locale" |
pascal@15581 | 37 for file in `find $install | grep 'pyc$'`; do |
claudinei@3835 | 38 rm $file |
claudinei@3835 | 39 done |
claudinei@3835 | 40 mkdir -p $fs/usr/share/locale/pt |
pascal@15581 | 41 cp -a $install/usr/lib $fs/usr |
pascal@15581 | 42 cp -a $install/usr/share $fs/usr |
claudinei@3835 | 43 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3835 | 44 } |
claudinei@3835 | 45 |