wok-6.x annotate compiz-core/receipt @ rev 16320

Up openssl (1.0.1g) with Heartbeat overflow fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 09 20:47:43 2014 +0000 (2014-04-09)
parents 1810c4d44a48
children 17e313b5b9c1
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-core"
pascal@11219 4 VERSION="0.9.4"
pascal@11219 5 CATEGORY="x-window"
pascal@11219 6 SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect."
pascal@11219 7 MAINTAINER="pankso@slitaz.org"
pascal@15022 8 LICENSE="MIT GPL LGPL"
pascal@11219 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11219 10 WEB_SITE="http://www.compiz.org/"
pascal@11219 11 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
pascal@11219 12
pankso@12405 13 DEPENDS="librsvg libxslt startup-notification libboost-serialization \
pankso@12409 14 glibmm mesa emerald dbus dbus-glib"
pankso@12405 15 BUILD_DEPENDS="xorg-dev cmake intltool librsvg-dev libxslt-dev \
pankso@12405 16 startup-notification-dev libboost-dev libboost-serialization-dev \
pankso@12409 17 glibmm-dev mesa-dev file dbus-dev dbus-glib-dev"
pankso@12405 18
pascal@11219 19 # Rules to configure and make the package.
pascal@11219 20 compile_rules()
pascal@11219 21 {
pascal@12652 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12652 23 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pascal@12652 24
pascal@11219 25 cd $src
pascal@11219 26 mkdir build && cd build
pascal@11219 27 cmake \
pascal@11219 28 -DCMAKE_INSTALL_PREFIX="/usr" \
pascal@15950 29 -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \
pascal@11219 30 -DCOMPIZ_DESTDIR="../../install" .. &&
pascal@15297 31 make -j 1 && make install &&
pascal@11219 32 make findcompiz_install
pascal@11219 33 }
pascal@11219 34
pascal@11219 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 36 genpkg_rules()
pascal@11219 37 {
pascal@11219 38 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12405 39 cp -a $install/usr/bin $fs/usr
pankso@12405 40 cp -a $install/usr/lib/compiz $fs/usr/lib
pankso@12405 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12405 42 cp -a $install/usr/share/compiz $fs/usr/share
pascal@11219 43 rm -rf $fs/usr/share/compiz/cmake
pascal@11219 44 }