wok-current annotate compiz-plugins-unsupported/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 | f08981ebc59f |
children | 8e1f5fe117e6 |
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/" |
pascal@17869 | 11 WGET_URL="http://releases.compiz.org/$VERSION/$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 mkdir build && cd build && |
pankso@15957 | 23 cmake \ |
pankso@15957 | 24 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pankso@15957 | 25 -DCOMPIZ_DESTDIR="../../install" \ |
pankso@15957 | 26 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. && |
pankso@15957 | 27 make && make install |
pankso@15957 | 28 } |
pankso@15957 | 29 |
pankso@15957 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15957 | 31 genpkg_rules() |
pankso@15957 | 32 { |
pankso@15957 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@15957 | 34 cp -a $install/usr/lib/compiz $fs/usr/lib |
pankso@15957 | 35 cp -a $install/usr/share/compiz $fs/usr/share |
pankso@15957 | 36 } |