wok-next annotate compiz-plugins-main/receipt @ rev 11219

Add from wok-undigest: compiz-ccsm compiz-compizconfig-python compiz-core compiz-core-dev compiz-libcompizconfig compiz-libcompizconfig-dev compiz-plugins-main compiz-plugins-main-dev cppunit cppunit-dev cpuspeed cssed
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 22:30:43 2011 +0100 (2011-11-03)
parents
children 569abf072b71
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-plugins-main"
pascal@11219 4 VERSION="0.9.4"
pascal@11219 5 CATEGORY="x-window"
pascal@11219 6 SHORT_DESC="Compiz main plugins."
pascal@11219 7 MAINTAINER="pankso@slitaz.org"
pascal@11219 8 DEPENDS="compiz-core compiz-libcompizconfig"
pascal@11219 9 BUILD_DEPENDS="$DEPENDS compiz-core-dev compiz-libcompizconfig-dev \
pascal@11219 10 cmake libxslt-dev glibmm-dev startup-notification-dev libboost-dev mesa-dev \
pascal@11219 11 libboost-serialization-dev"
pascal@11219 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11219 13 WEB_SITE="http://www.compiz.org/"
pascal@11219 14 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
pascal@11219 15
pascal@11219 16 # Rules to configure and make the package.
pascal@11219 17 compile_rules()
pascal@11219 18 {
pascal@11219 19 cd $src
pascal@11219 20 mkdir build && cd build
pascal@11219 21 cmake \
pascal@11219 22 -DCMAKE_INSTALL_PREFIX="/usr" \
pascal@11219 23 -DCOMPIZ_DESTDIR="../../install" \
pascal@11219 24 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
pascal@11219 25 make && make install
pascal@11219 26 }
pascal@11219 27
pascal@11219 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 29 genpkg_rules()
pascal@11219 30 {
pascal@11219 31 mkdir -p $fs/usr/lib $fs/usr/share
pascal@11219 32 cp -a $_pkg/usr/lib/compiz $fs/usr/lib
pascal@11219 33 cp -a $_pkg/usr/share/compiz $fs/usr/share
pascal@11219 34 }