wok annotate compiz-core/receipt @ rev 12463
Add lxpolkit (We may AVOID using poljit by default, but here is an interface)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 22 18:08:25 2012 +0200 (2012-04-22) |
parents | 569abf072b71 |
children | b50cda93acd2 |
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@11219 | 21 cd $src |
pascal@11219 | 22 mkdir build && cd build |
pascal@11219 | 23 cmake \ |
pascal@11219 | 24 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pankso@12405 | 25 -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \ |
pascal@11219 | 26 -DCOMPIZ_DESTDIR="../../install" .. && |
pascal@11219 | 27 make && make install && |
pascal@11219 | 28 make findcompiz_install |
pascal@11219 | 29 } |
pascal@11219 | 30 |
pascal@11219 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 32 genpkg_rules() |
pascal@11219 | 33 { |
pascal@11219 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12405 | 35 cp -a $install/usr/bin $fs/usr |
pankso@12405 | 36 cp -a $install/usr/lib/compiz $fs/usr/lib |
pankso@12405 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12405 | 38 cp -a $install/usr/share/compiz $fs/usr/share |
pascal@11219 | 39 rm -rf $fs/usr/share/compiz/cmake |
pascal@11219 | 40 } |