wok-current annotate compiz-plugins-main/receipt @ rev 14032

gocr: use pnm2png, not pnmtopng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 11:06:24 2013 +0100 (2013-02-18)
parents 569abf072b71
children 380ffe05937a
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 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="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg"
pankso@12405 13 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
pankso@12405 14 glibmm-dev libxslt-dev startup-notification-dev libboost-dev mesa-dev \
pankso@12405 15 gtk+-dev libboost-serialization-dev intltool librsvg-dev"
pankso@12405 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@13796 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 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
pascal@11219 26 make && make 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
pankso@12405 33 cp -a $install/usr/lib/compiz $fs/usr/lib
pankso@12405 34 cp -a $install/usr/share/compiz $fs/usr/share
pascal@11219 35 }