wok-stable diff matchbox-desktop/receipt @ rev 11610

linux: use lzma compression (xz does not build)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 20 23:37:52 2012 +0100 (2012-01-20)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/matchbox-desktop/receipt	Fri Jan 20 23:37:52 2012 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="matchbox-desktop"
     1.7 +VERSION="0.9.1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Matchbox desktop."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://matchbox-project.org/"
    1.13 +WGET_URL="${WEB_SITE}sources/$PACKAGE/0.9/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gtk+ startup-notification libmatchbox"
    1.16 +BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--sysconfdir=/etc \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	sed -i s'/$(install_sh) -d/mkdir -p/' data/Makefile &&
    1.26 +	make && make install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib/matchbox/desktop
    1.33 +	cp -a $install/etc $fs
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/lib/matchbox/desktop/*.so \
    1.36 +		$fs/usr/lib/matchbox/desktop
    1.37 +	cp -a $install/usr/share $fs/usr
    1.38 +}
    1.39 +