wok-current annotate stoqdrivers/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents ac8ca9758df1
children
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"
pascal@25105 9 WEB_SITE="https://web.archive.org/web/20150919172113/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 }