wok view compiz-core/receipt @ rev 18514

Add lucene++
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 25 00:41:02 2015 +0300 (2015-10-25)
parents f7863f6b5888
children 8e1f5fe117e6
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/$VERSION/$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="$LDFLAGS -Wl,--copy-dt-needed-entries"
25 patch $src/include/compiz.h <<EOT
26 --- compiz.h
27 +++ compiz.h
28 @@ -0,0 +1 @@
29 +#include <dirent.h>
30 EOT
31 mkdir build && cd build
32 cmake \
33 -DCMAKE_INSTALL_PREFIX="/usr" \
34 -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \
35 -DCOMPIZ_DESTDIR="../../install" .. &&
36 make -j 1 && make install &&
37 make findcompiz_install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/compiz $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share/compiz $fs/usr/share
48 rm -rf $fs/usr/share/compiz/cmake
49 }