wok-current view compton/receipt @ rev 16133

ARM: add pango (still trying to cross GTK)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 25 22:54:48 2014 +0100 (2014-03-25)
parents 8820dd3a547b
children 964f02720633
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="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/chjj/compton"
11 WGET_URL="https://github.com/chjj/$PACKAGE/archive/v${VERSION}.tar.gz"
13 DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo xorg-xprop"
14 BUILD_DEPENDS="xorg-dev xorg-libXcomposite xorg-libXrandr-dev libdrm-dev \
15 wget" #asciidoc
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
21 make \
22 NO_LIBCONFIG="true" \
23 NO_VSYNC_OPENGL="true" \
24 NO_DBUS="true"
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/etc/xdg/compton $fs/usr/bin
31 cp $src/compton $fs/usr/bin
32 cp $src/compton.sample.conf $fs/etc/xdg/compton/compton.conf
33 cp -r $stuff/autostart $fs/etc/xdg
34 }