rev |
line source |
pankso@15957
|
1 # SliTaz package receipt.
|
pankso@15957
|
2
|
pankso@15957
|
3 PACKAGE="compiz-plugins-unsupported"
|
pankso@15957
|
4 VERSION="0.9.4"
|
pankso@15957
|
5 CATEGORY="x-window"
|
pankso@15957
|
6 SHORT_DESC="Compiz unsupported plugins."
|
pankso@15957
|
7 MAINTAINER="pankso@slitaz.org"
|
pankso@15957
|
8 LICENSE="GPL2"
|
pankso@15957
|
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
|
pankso@15957
|
10 WEB_SITE="http://www.compiz.org/"
|
pankso@15957
|
11 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL"
|
pankso@15957
|
12
|
pankso@15957
|
13 DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
|
pankso@15957
|
14 compiz-plugins-main"
|
pankso@15957
|
15 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
|
pankso@15957
|
16 glibmm-dev libxslt-dev startup-notification-dev libboost-dev mesa-dev \
|
pankso@15957
|
17 gtk+-dev libboost-serialization-dev intltool librsvg-dev compiz-plugins-main-dev"
|
pankso@15957
|
18
|
pankso@15957
|
19 # Rules to configure and make the package.
|
pankso@15957
|
20 compile_rules()
|
pankso@15957
|
21 {
|
pankso@15957
|
22 cd $src
|
pankso@15957
|
23 mkdir build && cd build &&
|
pankso@15957
|
24 cmake \
|
pankso@15957
|
25 -DCMAKE_INSTALL_PREFIX="/usr" \
|
pankso@15957
|
26 -DCOMPIZ_DESTDIR="../../install" \
|
pankso@15957
|
27 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
|
pankso@15957
|
28 make && make install
|
pankso@15957
|
29 }
|
pankso@15957
|
30
|
pankso@15957
|
31 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@15957
|
32 genpkg_rules()
|
pankso@15957
|
33 {
|
pankso@15957
|
34 mkdir -p $fs/usr/lib $fs/usr/share
|
pankso@15957
|
35 cp -a $install/usr/lib/compiz $fs/usr/lib
|
pankso@15957
|
36 cp -a $install/usr/share/compiz $fs/usr/share
|
pankso@15957
|
37 }
|