wok-current annotate compiz-core/receipt @ rev 11448

Add: yaml, yaml-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 17 09:27:26 2011 +0100 (2011-12-17)
parents
children 569abf072b71
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 DEPENDS="librsvg libxslt startup-notification libboost-serialization \
pascal@11219 9 glibmm mesa"
pascal@11219 10 BUILD_DEPENDS="$DEPENDS cmake intltool librsvg-dev libxslt-dev \
pascal@11219 11 startup-notification-dev libboost-dev libboost-serialization-dev \
pascal@11219 12 glibmm-dev mesa-dev file"
pascal@11219 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11219 14 WEB_SITE="http://www.compiz.org/"
pascal@11219 15 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
pascal@11219 16
pascal@11219 17 # Rules to configure and make the package.
pascal@11219 18 compile_rules()
pascal@11219 19 {
pascal@11219 20 cd $src
pascal@11219 21 mkdir build && cd build
pascal@11219 22 cmake \
pascal@11219 23 -DCMAKE_INSTALL_PREFIX="/usr" \
pascal@11219 24 -DCOMPIZ_DESTDIR="../../install" .. &&
pascal@11219 25 make && make install &&
pascal@11219 26 make findcompiz_install
pascal@11219 27 }
pascal@11219 28
pascal@11219 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 30 genpkg_rules()
pascal@11219 31 {
pascal@11219 32 mkdir -p $fs/usr/lib $fs/usr/share
pascal@11219 33 cp -a $_pkg/usr/bin $fs/usr
pascal@11219 34 cp -a $_pkg/usr/lib/compiz $fs/usr/lib
pascal@11219 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11219 36 cp -a $_pkg/usr/share/compiz $fs/usr/share
pascal@11219 37 rm -rf $fs/usr/share/compiz/cmake
pascal@11219 38 #cp -a $_pkg/usr/share/gconf $fs/usr/share
pascal@11219 39 }