wok diff compiz-libcompizconfig/receipt @ rev 11389

Compat: make local-pack.functions in slitaz-i18n compatible with tazwok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:03:51 2011 +0100 (2011-12-10)
parents
children 569abf072b71
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/compiz-libcompizconfig/receipt	Sat Dec 10 05:03:51 2011 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="compiz-libcompizconfig"
     1.7 +VERSION="0.9.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Compiz configuration library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="compiz-core"
    1.12 +BUILD_DEPENDS="$DEPENDS compiz-core-dev cmake glibc-dev \
    1.13 +libxslt-dev glibmm-dev startup-notification-dev libboost-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.compiz.org/"
    1.16 +WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	mkdir build && cd build
    1.23 +	cmake \
    1.24 +		-DCMAKE_INSTALL_PREFIX="/usr" \
    1.25 +		-DCOMPIZ_DESTDIR="../../install" .. &&
    1.26 +	make && make install &&
    1.27 +	make findcompizconfig_install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.34 +	cp -a $_pkg/etc $fs
    1.35 +	cp -a $_pkg/usr/lib/compiz* $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +}