wok view compiz-core/receipt @ rev 17670

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 17 09:42:47 2015 +0100 (2015-02-17)
parents b5e2e43fdf99
children f7863f6b5888
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 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 }