wok-next diff matchbox-common/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents d3eb5f4b53ea
children d5aab818505e
line diff
     1.1 --- a/matchbox-common/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/matchbox-common/receipt	Sat May 26 17:09:29 2018 +0300
     1.3 @@ -1,31 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="matchbox-common"
     1.8  VERSION="0.9.1"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Common files for matchbox window manager."
    1.11 +SHORT_DESC="Common files for matchbox window manager"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://matchbox-project.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://matchbox-project.org/"
    1.18 -WGET_URL="${WEB_SITE}sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.19 +WGET_URL="http://downloads.yoctoproject.org/releases/matchbox/matchbox-common/${VERSION%.*}/$TARBALL"
    1.20  
    1.21 -DEPENDS="gtk+ libmatchbox"
    1.22 -BUILD_DEPENDS="gtk+-dev libmatchbox-dev"
    1.23 +BUILD_DEPENDS="libmatchbox-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	./configure $CONFIGURE_ARGS &&
    1.30 -	make && make install
    1.31 +	make &&
    1.32 +	make install || return 1
    1.33 +
    1.34 +	install -Dm755 $stuff/matchbox-session $install/usr/bin/matchbox-session
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr/bin
    1.41 -	cp -a $install/usr/share $fs/usr
    1.42 -	cp -a $stuff/matchbox-session $fs/usr/bin
    1.43 -	# For matchbox v2
    1.44 -	#cp -a $stuff/matchbox-session-2 $fs/usr/bin
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47 +	DEPENDS=""
    1.48 +	TAGS="matchbox"
    1.49  }