wok-next view compton/receipt @ rev 21184
aufs-utils: inserted make headers_install
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 22 17:16:53 2019 +0100 (2019-09-22) |
parents | d5aab818505e |
children | 9f1dbf4a5562 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="compton"
4 VERSION="20170907"
5 COMMIT="b7f43ee"
6 CATEGORY="x-window"
7 SHORT_DESC="A compositor for X"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/chjj/compton"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/chjj/compton/archive/${COMMIT:-v$VERSION}.tar.gz"
15 BUILD_DEPENDS="pcre-dev libx11-dev libxcomposite-dev \
16 libxfixes-dev libxdamage-dev libxrender-dev libxext-dev \
17 libxrandr-dev libxinerama-dev dbus-dev asciidoc libxml2-tools \
18 docbook-xsl libconfig-dev"
19 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev
21 compile_rules() {
22 make \
23 COMPTON_VERSION=v$VERSION \
24 NO_VSYNC_DRM=yes \
25 NO_VSYNC_OPENGL=yes \
26 PREFIX=/usr \
27 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
28 install || return 1
30 mkdir -p $install/etc/xdg/compton
31 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf
32 cp -r $stuff/autostart $install/etc/xdg/
33 }
35 genpkg_rules() {
36 copy etc/ bin/ # skip icons
37 DEPENDS="dbus libconfig libpcre libx11 libxcomposite \
38 libxdamage libxext libxfixes libxinerama \
39 libxrandr libxrender xwininfo xprop libconfig"
40 CONFIG_FILES="/etc/xdg/compton/compton.conf"
41 }