wok-next annotate 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
rev   line source
pankso@15939 1 # SliTaz package receipt.
pankso@15939 2
pankso@15939 3 PACKAGE="compton"
pankso@15939 4 VERSION="0.1_beta2"
pankso@15939 5 CATEGORY="x-window"
pankso@15939 6 SHORT_DESC="Light X Compositor new generation"
pankso@15939 7 MAINTAINER="pankso@slitaz.org"
pankso@15939 8 LICENSE="MIT"
pascal@15949 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@15939 10 WEB_SITE="https://github.com/chjj/compton"
pascal@15949 11 WGET_URL="https://github.com/chjj/$PACKAGE/archive/v${VERSION}.tar.gz"
pankso@16382 12 HOST_ARCH="i486 arm"
pankso@15939 13
pankso@15942 14 DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo xorg-xprop"
al@19663 15 BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXrandr-dev libdrm-dev \
al@19661 16 xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXinerama-dev pcre-dev"
pankso@15939 17
pankso@15939 18 # Rules to configure and make the package.
pankso@15939 19 compile_rules()
pankso@15939 20 {
pankso@15939 21 sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
pankso@15942 22 make \
pankso@15942 23 NO_LIBCONFIG="true" \
pankso@15942 24 NO_VSYNC_OPENGL="true" \
pankso@15942 25 NO_DBUS="true"
pankso@15939 26 }
pankso@15939 27
pankso@15939 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15939 29 genpkg_rules()
pankso@15939 30 {
pankso@15939 31 mkdir -p $fs/etc/xdg/compton $fs/usr/bin
pankso@15939 32 cp $src/compton $fs/usr/bin
pankso@15961 33 cp $src/compton.sample.conf $fs/etc/xdg/compton/compton.conf
pankso@15939 34 cp -r $stuff/autostart $fs/etc/xdg
pankso@15939 35 }
psychomaniak@19154 36