wok view compiz-core/receipt @ rev 17583

Add: libsecret 0.18
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 19:36:25 2015 +0000 (2015-02-08)
parents 1810c4d44a48
children 17e313b5b9c1
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 -j 1 && 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 }