wok diff compiz-core/receipt @ rev 12017

Up zim 0.55
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 06 13:37:22 2012 +0100 (2012-03-06)
parents
children 569abf072b71
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/compiz-core/receipt	Tue Mar 06 13:37:22 2012 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="compiz-core"
     1.7 +VERSION="0.9.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="librsvg libxslt startup-notification libboost-serialization \
    1.12 +glibmm mesa"
    1.13 +BUILD_DEPENDS="$DEPENDS cmake intltool librsvg-dev libxslt-dev \
    1.14 +startup-notification-dev libboost-dev libboost-serialization-dev \
    1.15 +glibmm-dev mesa-dev file"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 +WEB_SITE="http://www.compiz.org/"
    1.18 +WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	mkdir build && cd build
    1.25 +	cmake \
    1.26 +		-DCMAKE_INSTALL_PREFIX="/usr" \
    1.27 +		-DCOMPIZ_DESTDIR="../../install" .. &&
    1.28 +	make && make install &&
    1.29 +	make findcompiz_install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	cp -a $_pkg/usr/lib/compiz $fs/usr/lib
    1.38 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 +	cp -a $_pkg/usr/share/compiz $fs/usr/share
    1.40 +	rm -rf $fs/usr/share/compiz/cmake
    1.41 +	#cp -a $_pkg/usr/share/gconf $fs/usr/share
    1.42 +}