wok-next view compiz-libcompizconfig/receipt @ rev 17769

compiz-libcompizconfig: cmake 3.1 seems need CMAKE_MINIMUM_REQUIRED_VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 13 17:47:05 2015 +0100 (2015-03-13)
parents c4cab08cbd60
children 8e1f5fe117e6
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-libcompizconfig"
4 VERSION="0.9.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz configuration library."
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="compiz-core protobuf glib libgio libxml2"
14 BUILD_DEPENDS="xorg-dev compiz-core-dev cmake glibc-dev libxml2-dev \
15 libxslt-dev glibmm-dev startup-notification-dev libboost-dev \
16 protobuf-dev glib-dev libgio-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build && cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX="/usr" \
24 -DCMAKE_MINIMUM_REQUIRED_VERSION="1.0" \
25 -DCOMPIZ_DESTDIR="../../install" .. &&
26 make && make install &&
27 make findcompizconfig_install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 #cp -a $install/etc $fs
35 cp -a $install/usr/lib/compiz* $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }