wok-next view compiz-core/receipt @ rev 17784

Fix: disable llvm compiler version check
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:36:00 2015 +0000 (2015-03-14)
parents 17e313b5b9c1
children d3eb5f4b53ea
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="$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 }