wok-next diff wammu/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 7506b35e1c6f
children
line diff
     1.1 --- a/wammu/receipt	Mon Aug 13 00:47:17 2018 +0300
     1.2 +++ b/wammu/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,30 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="wammu"
     1.8  VERSION="0.33"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Wammu is mobile phone manage."
    1.11 -MAINTAINER="pankso@slitaz.org"
    1.12 +SHORT_DESC="Mobile phone manager"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://wammu.eu/wammu/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="https://wammu.eu/wammu/"
    1.19 -WGET_URL="$SF_MIRROR/gammu/$PACKAGE/$VERSION/$TARBALL"
    1.20 +WGET_URL="$SF_MIRROR/gammu/$TARBALL"
    1.21  
    1.22 -DEPENDS="gammu python python-pybluez wxpython"
    1.23 -BUILD_DEPENDS="$DEPENDS gammu-dev python-dev wxpython-dev"
    1.24 +BUILD_DEPENDS="gammu-dev python-dev python-pybluez wxpython-dev"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -	python setup.py build &&
    1.30 -	python setup.py install --root=$DESTDIR
    1.31 +compile_rules() {
    1.32 +	python -B setup.py build &&
    1.33 +	python -B setup.py install --root=$install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 +genpkg_rules() {
    1.40  	mkdir -p $fs/usr/share
    1.41  	cp -a $install/usr/bin $fs/usr
    1.42  	cp -a $install/usr/lib $fs/usr
    1.43  	cp -a $install/usr/share/Wammu $fs/usr/share
    1.44 +	DEPENDS="gammu python python-pybluez wxpython"
    1.45  }