wok-next view compton/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 3a6b97ad0a64 |
children | ec4ebc01cb25 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="compton"
4 VERSION="0.1_beta2+87" # 87 commits to master since release 0.1_beta2
5 COMMIT="316eac0"
6 CATEGORY="x-window"
7 SHORT_DESC="A compositor for X"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/chjj/compton"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/chjj/compton/archive/${COMMIT:-v$VERSION}.tar.gz"
16 BUILD_DEPENDS="pcre-dev xorg-libX11-dev xorg-libXcomposite-dev \
17 xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev \
18 xorg-libXrandr-dev xorg-libXinerama-dev libconfig-dev dbus-dev libdrm-dev \
19 mesa-dev asciidoc libxml2-tools docbook-xsl"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make \
25 COMPTON_VERSION=v$VERSION \
26 PREFIX=/usr \
27 compton docs &&
28 make install
29 mkdir -p $install/etc/xdg/compton
30 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf
31 cp -r $stuff/autostart $install/etc/xdg/
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 copy etc/ bin/ # skip icons
38 DEPENDS="dbus libconfig mesa pcre xorg-libX11 xorg-libXcomposite \
39 xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXinerama \
40 xorg-libXrandr xorg-libXrender xorg-xwininfo xorg-xprop"
41 CONFIG_FILES="/etc/xdg/compton/compton.conf"
42 }