wok-next diff compiz-bcop/receipt @ rev 21042

Update Compiz Reloaded project
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 10 17:21:54 2018 +0200 (2018-11-10)
parents d5aab818505e
children
line diff
     1.1 --- a/compiz-bcop/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/compiz-bcop/receipt	Sat Nov 10 17:21:54 2018 +0200
     1.3 @@ -1,26 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="compiz-bcop"
     1.8 -VERSION="0.8.12"
     1.9 +VERSION="0.8.14"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="Compiz option code generator"
    1.12  MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="https://github.com/compiz-reloaded"
    1.15 +WEB_SITE="https://gitlab.com/compiz/compiz-bcop"
    1.16 +HOST_ARCH="any"
    1.17  
    1.18 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 -WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.20 +TARBALL="$PACKAGE-v$VERSION.tar.bz2"
    1.21 +WGET_URL="https://gitlab.com/compiz/compiz-bcop/-/archive/v$VERSION/$TARBALL"
    1.22  
    1.23 -BUILD_DEPENDS="xorg-dev compiz-core-dev libxslt-dev startup-notification-dev libtool"
    1.24 +BUILD_DEPENDS="automake libxslt-dev"
    1.25 +SPLIT="$PACKAGE-dev"
    1.26 +
    1.27 +DEPENDS_std="libxslt"
    1.28 +
    1.29 +TAGS="compiz"
    1.30  
    1.31  compile_rules() {
    1.32 -	./configure \
    1.33 -		--prefix=/usr &&
    1.34 +	./autogen.sh \
    1.35 +		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37 -	make DESTDIR=$install install
    1.38 +	make install
    1.39  }
    1.40  
    1.41  genpkg_rules() {
    1.42 -	cp -a $install/* $fs
    1.43 -	DEPENDS="xorg-libX11 compiz-core libxslt"
    1.44 +	case $PACKAGE in
    1.45 +		compiz-bcop) copy @std; DEPENDS="$DEPENDS_std";;
    1.46 +		*-dev)       copy @dev;;
    1.47 +	esac
    1.48  }