wok-undigest annotate compiz-core/receipt @ rev 236
Add compiz packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 23:56:45 2011 +0100 (2011-03-18) |
parents | |
children | cd5968dee529 |
rev | line source |
---|---|
pankso@236 | 1 # SliTaz package receipt. |
pankso@236 | 2 |
pankso@236 | 3 PACKAGE="compiz-core" |
pankso@236 | 4 VERSION="0.9.4" |
pankso@236 | 5 CATEGORY="x-window" |
pankso@236 | 6 SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect." |
pankso@236 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@236 | 8 DEPENDS="librsvg libxslt startup-notification libboost-serialization \ |
pankso@236 | 9 glibmm mesa" |
pankso@236 | 10 BUILD_DEPENDS="$DEPENDS cmake intltool librsvg-dev libxslt-dev \ |
pankso@236 | 11 startup-notification-dev libboost-dev libboost-serialization-dev \ |
pankso@236 | 12 glibmm-dev mesa-dev" |
pankso@236 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@236 | 14 WEB_SITE="http://www.compiz.org/" |
pankso@236 | 15 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL" |
pankso@236 | 16 |
pankso@236 | 17 # Rules to configure and make the package. |
pankso@236 | 18 compile_rules() |
pankso@236 | 19 { |
pankso@236 | 20 cd $src |
pankso@236 | 21 mkdir build && cd build |
pankso@236 | 22 cmake \ |
pankso@236 | 23 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pankso@236 | 24 -DCOMPIZ_DESTDIR="../../install" .. && |
pankso@236 | 25 make && make install && |
pankso@236 | 26 make findcompiz_install |
pankso@236 | 27 } |
pankso@236 | 28 |
pankso@236 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@236 | 30 genpkg_rules() |
pankso@236 | 31 { |
pankso@236 | 32 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@236 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@236 | 34 cp -a $_pkg/usr/lib/compiz $fs/usr/lib |
pankso@236 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@236 | 36 cp -a $_pkg/usr/share/compiz $fs/usr/share |
pankso@236 | 37 rm -rf $fs/usr/share/compiz/cmake |
pankso@236 | 38 #cp -a $_pkg/usr/share/gconf $fs/usr/share |
pankso@236 | 39 } |