wok view compiz-plugins-main/receipt @ rev 11915

squid: improve package (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 00:00:54 2012 +0100 (2012-03-01)
parents
children 569abf072b71
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 DEPENDS="compiz-core compiz-libcompizconfig"
9 BUILD_DEPENDS="$DEPENDS compiz-core-dev compiz-libcompizconfig-dev \
10 cmake libxslt-dev glibmm-dev startup-notification-dev libboost-dev mesa-dev \
11 libboost-serialization-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.compiz.org/"
14 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir build && cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX="/usr" \
23 -DCOMPIZ_DESTDIR="../../install" \
24 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/lib/compiz $fs/usr/lib
33 cp -a $_pkg/usr/share/compiz $fs/usr/share
34 }