wok annotate stoqdrivers/receipt @ rev 23982
dog: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 21 13:13:55 2020 +0000 (2020-11-21) |
parents | c4f226b02549 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
claudinei@3834 | 1 # SliTaz package receipt. |
claudinei@3834 | 2 |
claudinei@3834 | 3 PACKAGE="stoqdrivers" |
Hans-G?nter@23671 | 4 VERSION="1.8.1" |
claudinei@3834 | 5 CATEGORY="development" |
Hans-G?nter@23671 | 6 SHORT_DESC="Useful drivers for Stoq and retail systems." |
claudinei@3834 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15581 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@23671 | 9 WEB_SITE="http://www.stoq.com.br" |
Hans-G?nter@23671 | 10 |
Hans-G?nter@23671 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23671 | 12 WGET_URL="https://github.com/stoq/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@23671 | 13 |
claudinei@3834 | 14 SUGGESTED="stoq" |
pascal@15581 | 15 DEPENDS="python python-kiwi python-serial zopeinterface" |
pascal@15581 | 16 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface" |
pascal@15581 | 17 |
claudinei@3834 | 18 # Rules to configure and make the package. |
claudinei@3834 | 19 compile_rules() |
claudinei@3834 | 20 { |
gokhlayeh@8680 | 21 python setup.py install --root=$DESTDIR |
claudinei@3834 | 22 } |
claudinei@3834 | 23 |
claudinei@3834 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3834 | 25 genpkg_rules() |
claudinei@3834 | 26 { |
Hans-G?nter@23671 | 27 mkdir -p $fs/usr/share/locale/pt |
Hans-G?nter@23671 | 28 |
pascal@15581 | 29 LOCALEDIR="$install/usr/share/locale" |
Hans-G?nter@23671 | 30 for file in `find $install | grep 'pyc$'` |
Hans-G?nter@23671 | 31 do |
claudinei@3834 | 32 rm $file |
Hans-G?nter@23671 | 33 done |
Hans-G?nter@23671 | 34 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23671 | 35 cp -a $install/usr/share $fs/usr |
Hans-G?nter@23671 | 36 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3834 | 37 } |