wok-current diff compiz-plugins-extra/receipt @ rev 17411

Add littleutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 29 11:40:52 2014 +0100 (2014-11-29)
parents
children f545e719c438
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/compiz-plugins-extra/receipt	Sat Nov 29 11:40:52 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="compiz-plugins-extra"
     1.7 +VERSION="0.9.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Compiz extra plugins."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.compiz.org/"
    1.14 +WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
    1.15 +
    1.16 +DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
    1.17 +libnotify compiz-plugins-main"
    1.18 +BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
    1.19 +glibmm-dev libxslt-dev startup-notification-dev libboost-dev mesa-dev \
    1.20 +gtk+-dev libboost-serialization-dev intltool librsvg-dev libnotify-dev \
    1.21 +compiz-plugins-main-dev"
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	cd $src
    1.27 +	mkdir build && cd build &&
    1.28 +	cmake \
    1.29 +		-DCMAKE_INSTALL_PREFIX="/usr" \
    1.30 +		-DCOMPIZ_DESTDIR="../../install" \
    1.31 +		-DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
    1.32 +	make && make install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.39 +	cp -a $install/usr/lib/compiz $fs/usr/lib
    1.40 +	cp -a $install/usr/share/compiz $fs/usr/share
    1.41 +}