wok-6.x view compiz-plugins-main/receipt @ rev 13028
asterisk: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 11 21:38:18 2012 +0200 (2012-06-11) |
parents | 02ae81877dfd |
children | 6b09507225ec |
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-main"
4 VERSION="0.9.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz main plugins."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.compiz.org/"
10 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
12 DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg"
13 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
14 glibmm-dev libxslt-dev startup-notification-dev libboost-dev mesa-dev \
15 gtk+-dev libboost-serialization-dev intltool librsvg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir build && cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX="/usr" \
24 -DCOMPIZ_DESTDIR="../../install" \
25 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $install/usr/lib/compiz $fs/usr/lib
34 cp -a $install/usr/share/compiz $fs/usr/share
35 }