wok annotate compton/receipt @ rev 19030

cups: reset tazpanel menus cache in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 05 14:59:00 2016 +0200 (2016-04-05)
parents 4c8b76649b70
children 03b2309fd335
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"
pankso@16382 15 BUILD_DEPENDS="xorg-libXcomposite xorg-libXrandr-dev libdrm-dev wget"
pankso@15939 16
pankso@15939 17 # Rules to configure and make the package.
pankso@15939 18 compile_rules()
pankso@15939 19 {
pankso@15939 20 sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
pankso@15942 21 make \
pankso@15942 22 NO_LIBCONFIG="true" \
pankso@15942 23 NO_VSYNC_OPENGL="true" \
pankso@15942 24 NO_DBUS="true"
pankso@15939 25 }
pankso@15939 26
pankso@15939 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15939 28 genpkg_rules()
pankso@15939 29 {
pankso@15939 30 mkdir -p $fs/etc/xdg/compton $fs/usr/bin
pankso@15939 31 cp $src/compton $fs/usr/bin
pankso@15961 32 cp $src/compton.sample.conf $fs/etc/xdg/compton/compton.conf
pankso@15939 33 cp -r $stuff/autostart $fs/etc/xdg
pankso@15939 34 }