wok-next diff mitter/receipt @ rev 21161

diffutils splitted again
author Hans-G?nter Theisgen
date Wed Feb 20 09:13:09 2019 +0100 (2019-02-20)
parents c022997c7a57
children
line diff
     1.1 --- a/mitter/receipt	Thu Aug 23 10:22:21 2018 +0300
     1.2 +++ b/mitter/receipt	Wed Feb 20 09:13:09 2019 +0100
     1.3 @@ -1,28 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="mitter"
     1.8  VERSION="0.4.5"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Mitter is a client for Twitter."
    1.11 +SHORT_DESC="Twitter client"
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="https://web.archive.org/web/20120808040147/http://code.google.com/p/mitter"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://web.archive.org/web/20120808040147/http://code.google.com/p/mitter"
    1.18  WGET_URL="http://mitter.googlecode.com/files/$TARBALL" # FIXME
    1.19 -DEPENDS="python python-pygtk python-simplejson"
    1.20 +
    1.21  BUILD_DEPENDS="python-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	python setup.py build
    1.27 -	python setup.py install --root=$DESTDIR
    1.28 +compile_rules() {
    1.29 +	python -B setup.py build &&
    1.30 +	python -B setup.py install --root=$install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	mkdir -p $fs/usr/share/applications
    1.38  	cp -a $stuff/mitter.desktop $fs/usr/share/applications
    1.39  	cp -a $install/usr $fs
    1.40 +	DEPENDS="python python-pygtk python-simplejson"
    1.41  }