wok-next view compton/receipt @ rev 19670
sudo-pam: add the same patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 18 15:28:43 2017 +0200 (2017-03-18) |
parents | 8f50006d2661 |
children | 0f38eda21e70 |
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo xorg-xprop"
15 BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXrandr-dev libdrm-dev \
16 xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXinerama-dev pcre-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
22 make \
23 NO_LIBCONFIG="true" \
24 NO_VSYNC_OPENGL="true" \
25 NO_DBUS="true"
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/etc/xdg/compton $fs/usr/bin
32 cp $src/compton $fs/usr/bin
33 cp $src/compton.sample.conf $fs/etc/xdg/compton/compton.conf
34 cp -r $stuff/autostart $fs/etc/xdg
35 }