wok diff compiz-plugins-main/receipt @ rev 11474

python-flup: reverting my changes, it was not good (thanks godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 17:52:22 2011 +0100 (2011-12-17)
parents
children 569abf072b71
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/compiz-plugins-main/receipt	Sat Dec 17 17:52:22 2011 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="compiz-plugins-main"
     1.7 +VERSION="0.9.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Compiz main plugins."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="compiz-core compiz-libcompizconfig"
    1.12 +BUILD_DEPENDS="$DEPENDS compiz-core-dev compiz-libcompizconfig-dev \
    1.13 +cmake libxslt-dev glibmm-dev startup-notification-dev libboost-dev mesa-dev \
    1.14 +libboost-serialization-dev"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 +WEB_SITE="http://www.compiz.org/"
    1.17 +WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	mkdir build && cd build
    1.24 +	cmake \
    1.25 +		-DCMAKE_INSTALL_PREFIX="/usr" \
    1.26 +		-DCOMPIZ_DESTDIR="../../install" \
    1.27 +		-DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
    1.28 +	make && make install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.35 +	cp -a $_pkg/usr/lib/compiz $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/share/compiz $fs/usr/share
    1.37 +}