wok-current annotate compiz-core/receipt @ rev 14164
nut: up 2.6.5
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Mar 07 20:38:21 2013 -0800 (2013-03-07) |
parents | 4db4ca0c9c3e |
children | 5286a067ac76 |
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@11219 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11219 | 9 WEB_SITE="http://www.compiz.org/" |
pascal@11219 | 10 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL" |
pascal@11219 | 11 |
pankso@12405 | 12 DEPENDS="librsvg libxslt startup-notification libboost-serialization \ |
pankso@12409 | 13 glibmm mesa emerald dbus dbus-glib" |
pankso@12405 | 14 BUILD_DEPENDS="xorg-dev cmake intltool librsvg-dev libxslt-dev \ |
pankso@12405 | 15 startup-notification-dev libboost-dev libboost-serialization-dev \ |
pankso@12409 | 16 glibmm-dev mesa-dev file dbus-dev dbus-glib-dev" |
pankso@12405 | 17 |
pascal@11219 | 18 # Rules to configure and make the package. |
pascal@11219 | 19 compile_rules() |
pascal@11219 | 20 { |
pascal@12652 | 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12652 | 22 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12652 | 23 |
pascal@11219 | 24 cd $src |
pascal@11219 | 25 mkdir build && cd build |
pascal@11219 | 26 cmake \ |
pascal@11219 | 27 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pankso@12405 | 28 -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \ |
pascal@11219 | 29 -DCOMPIZ_DESTDIR="../../install" .. && |
pascal@11219 | 30 make && make install && |
pascal@11219 | 31 make findcompiz_install |
pascal@11219 | 32 } |
pascal@11219 | 33 |
pascal@11219 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 35 genpkg_rules() |
pascal@11219 | 36 { |
pascal@11219 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12405 | 38 cp -a $install/usr/bin $fs/usr |
pankso@12405 | 39 cp -a $install/usr/lib/compiz $fs/usr/lib |
pankso@12405 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12405 | 41 cp -a $install/usr/share/compiz $fs/usr/share |
pascal@11219 | 42 rm -rf $fs/usr/share/compiz/cmake |
pascal@11219 | 43 } |