wok-current view compiz-plugins-extra/receipt @ rev 18390
libmspack: add missing pkgconfig files, fix warning
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Fri Sep 18 23:22:54 2015 +0000 (2015-09-18) |
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 }