wok-current view compton/receipt @ rev 15940

Up: jwm (2.2.0) with new style, use compton and hsetroot
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 19:26:13 2014 +0100 (2014-02-22)
parents
children 71a9f5c8104e
line source
1 # SliTaz package receipt.
3 PACKAGE="compton"
4 VERSION="0.1_beta2"
5 CATEGORY="x-window"
6 SHORT_DESC="Light X Compositor new generation"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="v${VERSION}.tar.gz"
10 WEB_SITE="https://github.com/chjj/compton"
11 WGET_URL="https://github.com/chjj/$PACKAGE/archive/$TARBALL"
13 DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo \
14 xorg-xprop"
15 BUILD_DEPENDS="xorg-dev xorg-libXcomposite xorg-libXrandr-dev libdrm-dev \
16 wget" #asciidoc
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
22 make NO_LIBCONFIG="true"
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/etc/xdg/compton $fs/usr/bin
29 cp $src/compton $fs/usr/bin
30 cp $stuff/compton.conf $fs/etc/xdg/compton
31 cp -r $stuff/autostart $fs/etc/xdg
32 }