wok-next view compton/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | 0f38eda21e70 |
children | e756329576c3 |
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 dbus-dev asciidoc libxml2-tools \
19 docbook-xsl"
20 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make \
26 COMPTON_VERSION=v$VERSION \
27 NO_LIBCONFIG=yes \
28 NO_VSYNC_DRM=yes \
29 NO_VSYNC_OPENGL=yes \
30 PREFIX=/usr \
31 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
32 install || return 1
34 mkdir -p $install/etc/xdg/compton
35 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf
36 cp -r $stuff/autostart $install/etc/xdg/
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 copy etc/ bin/ # skip icons
43 DEPENDS="dbus pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \
44 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
45 xorg-libXrender xorg-xwininfo xorg-xprop"
46 CONFIG_FILES="/etc/xdg/compton/compton.conf"
47 }