wok-next diff compton/receipt @ rev 19828

Add LibreOffice (with langpacks); up compton, cookutils, cppunit.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 02 20:14:13 2017 +0300 (2017-08-02)
parents 3a6b97ad0a64
children ec4ebc01cb25
line diff
     1.1 --- a/compton/receipt	Fri Mar 17 12:37:35 2017 +0200
     1.2 +++ b/compton/receipt	Wed Aug 02 20:14:13 2017 +0300
     1.3 @@ -1,36 +1,42 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="compton"
     1.8 -VERSION="0.1_beta2"
     1.9 +VERSION="0.1_beta2+87" # 87 commits to master since release 0.1_beta2
    1.10 +COMMIT="316eac0"
    1.11  CATEGORY="x-window"
    1.12 -SHORT_DESC="Light X Compositor new generation"
    1.13 +SHORT_DESC="A compositor for X"
    1.14  MAINTAINER="pankso@slitaz.org"
    1.15  LICENSE="MIT"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WEB_SITE="https://github.com/chjj/compton"
    1.18 -WGET_URL="https://github.com/chjj/$PACKAGE/archive/v${VERSION}.tar.gz"
    1.19  HOST_ARCH="i486 arm"
    1.20  
    1.21 -DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo xorg-xprop"
    1.22 -BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXrandr-dev libdrm-dev \
    1.23 -xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXinerama-dev pcre-dev"
    1.24 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.25 +WGET_URL="https://github.com/chjj/compton/archive/${COMMIT:-v$VERSION}.tar.gz"
    1.26 +
    1.27 +BUILD_DEPENDS="pcre-dev xorg-libX11-dev xorg-libXcomposite-dev \
    1.28 +xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev \
    1.29 +xorg-libXrandr-dev xorg-libXinerama-dev libconfig-dev dbus-dev libdrm-dev \
    1.30 +mesa-dev asciidoc libxml2-tools docbook-xsl"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
    1.36  	make \
    1.37 -		NO_LIBCONFIG="true" \
    1.38 -		NO_VSYNC_OPENGL="true" \
    1.39 -		NO_DBUS="true"
    1.40 +		COMPTON_VERSION=v$VERSION \
    1.41 +		PREFIX=/usr \
    1.42 +		compton docs &&
    1.43 +	make install
    1.44 +	mkdir -p $install/etc/xdg/compton
    1.45 +	cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf
    1.46 +	cp -r $stuff/autostart $install/etc/xdg/
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52 -	mkdir -p $fs/etc/xdg/compton $fs/usr/bin
    1.53 -	cp $src/compton $fs/usr/bin
    1.54 -	cp $src/compton.sample.conf $fs/etc/xdg/compton/compton.conf
    1.55 -	cp -r $stuff/autostart $fs/etc/xdg
    1.56 +	copy etc/ bin/	# skip icons
    1.57 +	DEPENDS="dbus libconfig mesa pcre xorg-libX11 xorg-libXcomposite \
    1.58 +	xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXinerama \
    1.59 +	xorg-libXrandr xorg-libXrender   xorg-xwininfo xorg-xprop"
    1.60 +	CONFIG_FILES="/etc/xdg/compton/compton.conf"
    1.61  }
    1.62 -