wok-next diff stoqdrivers/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents a3254b6a96ac
children
line diff
     1.1 --- a/stoqdrivers/receipt	Tue Sep 25 17:35:51 2018 +0300
     1.2 +++ b/stoqdrivers/receipt	Tue Sep 01 10:44:52 2020 +0000
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="stoqdrivers"
     1.8  VERSION="0.9.8.2"
     1.9 @@ -6,30 +6,20 @@
    1.10  SHORT_DESC="Useful drivers for Stoq and retail systems"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -SUGGESTED="stoq"
    1.14 +WEB_SITE="https://www.stoq.com.br/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.stoq.com.br"
    1.18  WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL"
    1.19  
    1.20 -DEPENDS="python python-kiwi python-pyserial python-zope.interface"
    1.21 -BUILD_DEPENDS="python python-dev python-kiwi python-pyserial python-zope.interface \
    1.22 -gettext-tools"
    1.23 +BUILD_DEPENDS="python python-dev python-kiwi python-pyserial \
    1.24 +python-zope.interface gettext"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -	python setup.py install --root=$DESTDIR
    1.30 +compile_rules() {
    1.31 +	python -B setup.py install --root=$install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	LOCALEDIR="$install/usr/share/locale"
    1.38 -	for file in `find $install | grep 'pyc$'`; do
    1.39 -		rm $file
    1.40 -	done
    1.41 -	mkdir -p $fs/usr/share/locale/pt
    1.42 -	cp -a $install/usr/lib $fs/usr
    1.43 -	cp -a $install/usr/share $fs/usr
    1.44 -	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47 +	DEPENDS="python python-kiwi python-pyserial python-zope.interface"
    1.48 +	SUGGESTED="stoq"
    1.49  }