wok view compiz-core/receipt @ rev 12405

Add compiz meta package (Compiz/LXDE work fine)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 20 18:01:38 2012 +0200 (2012-04-20)
parents 02ae81877dfd
children 4db4ca0c9c3e
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-core"
4 VERSION="0.9.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.compiz.org/"
10 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
12 DEPENDS="librsvg libxslt startup-notification libboost-serialization \
13 glibmm mesa emerald"
14 BUILD_DEPENDS="xorg-dev cmake intltool librsvg-dev libxslt-dev \
15 startup-notification-dev libboost-dev libboost-serialization-dev \
16 glibmm-dev mesa-dev file"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 mkdir build && cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX="/usr" \
25 -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \
26 -DCOMPIZ_DESTDIR="../../install" .. &&
27 make && make install &&
28 make findcompiz_install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/compiz $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/compiz $fs/usr/share
39 rm -rf $fs/usr/share/compiz/cmake
40 }