wok-current view compiz-core/receipt @ rev 15205
hg merge
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 09 03:32:26 2013 +0300 (2013-09-09) |
parents | b50cda93acd2 |
children | 3890f99cd611 |
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 LICENSE="MIT GPL LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.compiz.org/"
11 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
13 DEPENDS="librsvg libxslt startup-notification libboost-serialization \
14 glibmm mesa emerald dbus dbus-glib"
15 BUILD_DEPENDS="xorg-dev cmake intltool librsvg-dev libxslt-dev \
16 startup-notification-dev libboost-dev libboost-serialization-dev \
17 glibmm-dev mesa-dev file dbus-dev dbus-glib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="-Wl,--copy-dt-needed-entries"
25 cd $src
26 mkdir build && cd build
27 cmake \
28 -DCMAKE_INSTALL_PREFIX="/usr" \
29 -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \
30 -DCOMPIZ_DESTDIR="../../install" .. &&
31 make && make install &&
32 make findcompiz_install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/compiz $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/share/compiz $fs/usr/share
43 rm -rf $fs/usr/share/compiz/cmake
44 }