wok-next diff mypaint/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 c022997c7a57
children 2b48c0f89d4c
line diff
     1.1 --- a/mypaint/receipt	Thu Aug 23 10:22:21 2018 +0300
     1.2 +++ b/mypaint/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,29 +4,26 @@
     1.4  VERSION="1.0.0"
     1.5  CATEGORY="graphics"
     1.6  SHORT_DESC="A fast and easy painting application for digital painters, with brush dynamics"
     1.7 -MAINTAINER="slaxemulator@gmail.com"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10 -WEB_SITE="http://mypaint.intilinux.com/"
    1.11 +WEB_SITE="http://mypaint.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WGET_URL="http://download.gna.org/$PACKAGE/$TARBALL"
    1.15  
    1.16 -DEPENDS="python-pygtk python-numpy protobuf-python"
    1.17 -BUILD_DEPENDS="$DEPENDS python-pygtk-dev protobuf-dev python-dev scons2 swig \
    1.18 -gettext-tools"
    1.19 +BUILD_DEPENDS="python-numpy protobuf-python python-pygtk-dev protobuf-dev \
    1.20 +python-dev scons2 swig gettext"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	scons
    1.26 -	scons prefix=$DESTDIR/usr install
    1.27 +compile_rules() {
    1.28 +	scons &&
    1.29 +	scons prefix=$install/usr install
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	mkdir -p $fs/usr/share 
    1.36 +genpkg_rules() {
    1.37 +	mkdir -p $fs/usr/share
    1.38  	cp -a $install/usr/bin $fs/usr
    1.39  	cp -a $install/usr/share/mypaint $fs/usr/share
    1.40  	cp -a $install/usr/lib $fs/usr
    1.41  	cp -a $install/usr/share/icons $fs/usr/share
    1.42 +	DEPENDS="python-pygtk python-numpy protobuf-python"
    1.43  }