wok annotate 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 |
rev | line source |
---|---|
pankso@15939 | 1 # SliTaz package receipt. |
pankso@15939 | 2 |
pankso@15939 | 3 PACKAGE="compton" |
pankso@15939 | 4 VERSION="0.1_beta2" |
pankso@15939 | 5 CATEGORY="x-window" |
pankso@15939 | 6 SHORT_DESC="Light X Compositor new generation" |
pankso@15939 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15939 | 8 LICENSE="MIT" |
pankso@15939 | 9 TARBALL="v${VERSION}.tar.gz" |
pankso@15939 | 10 WEB_SITE="https://github.com/chjj/compton" |
pankso@15939 | 11 WGET_URL="https://github.com/chjj/$PACKAGE/archive/$TARBALL" |
pankso@15939 | 12 |
pankso@15939 | 13 DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo \ |
pankso@15939 | 14 xorg-xprop" |
pankso@15939 | 15 BUILD_DEPENDS="xorg-dev xorg-libXcomposite xorg-libXrandr-dev libdrm-dev \ |
pankso@15939 | 16 wget" #asciidoc |
pankso@15939 | 17 |
pankso@15939 | 18 # Rules to configure and make the package. |
pankso@15939 | 19 compile_rules() |
pankso@15939 | 20 { |
pankso@15939 | 21 sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile |
pankso@15939 | 22 make NO_LIBCONFIG="true" |
pankso@15939 | 23 } |
pankso@15939 | 24 |
pankso@15939 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15939 | 26 genpkg_rules() |
pankso@15939 | 27 { |
pankso@15939 | 28 mkdir -p $fs/etc/xdg/compton $fs/usr/bin |
pankso@15939 | 29 cp $src/compton $fs/usr/bin |
pankso@15939 | 30 cp $stuff/compton.conf $fs/etc/xdg/compton |
pankso@15939 | 31 cp -r $stuff/autostart $fs/etc/xdg |
pankso@15939 | 32 } |