wok-6.x annotate stoqdrivers/receipt @ rev 24507

updated easy-rsa (3.0.6 -> 3.0.8)
author Hans-G?nter Theisgen
date Sun Feb 20 16:37:53 2022 +0100 (2022-02-20)
parents 5ea0ce1cecc0
children 7a500035d756
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
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24299 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
claudinei@3834 24 # Rules to configure and make the package.
claudinei@3834 25 compile_rules()
claudinei@3834 26 {
gokhlayeh@8680 27 python setup.py install --root=$DESTDIR
claudinei@3834 28 }
claudinei@3834 29
claudinei@3834 30 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3834 31 genpkg_rules()
claudinei@3834 32 {
Hans-G?nter@23671 33 mkdir -p $fs/usr/share/locale/pt
Hans-G?nter@23671 34
pascal@15581 35 LOCALEDIR="$install/usr/share/locale"
Hans-G?nter@23671 36 for file in `find $install | grep 'pyc$'`
Hans-G?nter@23671 37 do
claudinei@3834 38 rm $file
Hans-G?nter@23671 39 done
Hans-G?nter@23671 40 cp -a $install/usr/lib $fs/usr
Hans-G?nter@23671 41 cp -a $install/usr/share $fs/usr
Hans-G?nter@23671 42 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
claudinei@3834 43 }