wok-6.x diff compton/receipt @ rev 15939

Add compton (X compositor) Fork of xcompmgr with bug fixes and lots of improvments
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 19:24:36 2014 +0100 (2014-02-22)
parents
children 71a9f5c8104e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/compton/receipt	Sat Feb 22 19:24:36 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="compton"
     1.7 +VERSION="0.1_beta2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Light X Compositor new generation"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="v${VERSION}.tar.gz"
    1.13 +WEB_SITE="https://github.com/chjj/compton"
    1.14 +WGET_URL="https://github.com/chjj/$PACKAGE/archive/$TARBALL"
    1.15 +
    1.16 +DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo \
    1.17 +xorg-xprop"
    1.18 +BUILD_DEPENDS="xorg-dev xorg-libXcomposite xorg-libXrandr-dev libdrm-dev \
    1.19 +wget" #asciidoc
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
    1.25 +	make NO_LIBCONFIG="true"
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/etc/xdg/compton $fs/usr/bin
    1.32 +	cp $src/compton $fs/usr/bin
    1.33 +	cp $stuff/compton.conf $fs/etc/xdg/compton
    1.34 +	cp -r $stuff/autostart $fs/etc/xdg
    1.35 +}