wok view compiz-plugins-extra/receipt @ rev 17869

Use VERSION variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 09:34:19 2015 +0100 (2015-03-26)
parents f545e719c438
children 8e1f5fe117e6
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-extra"
4 VERSION="0.9.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz extra plugins."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.compiz.org/"
11 WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL"
13 DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
14 libnotify compiz-plugins-main"
15 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
16 glibmm-dev libxslt-dev startup-notification-dev libboost-dev mesa-dev \
17 gtk+-dev libboost-serialization-dev intltool librsvg-dev libnotify-dev \
18 compiz-plugins-main-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/iconUri.c_str (), //' notification/src/notification.cpp
24 mkdir build && cd build &&
25 cmake \
26 -DCMAKE_INSTALL_PREFIX="/usr" \
27 -DCOMPIZ_DESTDIR="../../install" \
28 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/lib/compiz $fs/usr/lib
37 cp -a $install/usr/share/compiz $fs/usr/share
38 }