wok-next view compiz-core/receipt @ rev 11675
Up slitaz-tools-boxes (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 09:21:57 2012 +0100 (2012-02-18) |
parents | |
children | 569abf072b71 |
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 DEPENDS="librsvg libxslt startup-notification libboost-serialization \
9 glibmm mesa"
10 BUILD_DEPENDS="$DEPENDS cmake intltool librsvg-dev libxslt-dev \
11 startup-notification-dev libboost-dev libboost-serialization-dev \
12 glibmm-dev mesa-dev file"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.compiz.org/"
15 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir build && cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX="/usr" \
24 -DCOMPIZ_DESTDIR="../../install" .. &&
25 make && make install &&
26 make findcompiz_install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/compiz $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/share/compiz $fs/usr/share
37 rm -rf $fs/usr/share/compiz/cmake
38 #cp -a $_pkg/usr/share/gconf $fs/usr/share
39 }