wok-current annotate compiz-plugins-extra/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 | f545e719c438 |
children | 8e1f5fe117e6 |
rev | line source |
---|---|
pankso@15957 | 1 # SliTaz package receipt. |
pankso@15957 | 2 |
pankso@15957 | 3 PACKAGE="compiz-plugins-extra" |
pankso@15957 | 4 VERSION="0.9.4" |
pankso@15957 | 5 CATEGORY="x-window" |
pankso@15957 | 6 SHORT_DESC="Compiz extra 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 libnotify 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 libnotify-dev \ |
pankso@15957 | 18 compiz-plugins-main-dev" |
pankso@15957 | 19 |
pankso@15957 | 20 # Rules to configure and make the package. |
pankso@15957 | 21 compile_rules() |
pankso@15957 | 22 { |
pascal@17779 | 23 sed -i 's/iconUri.c_str (), //' notification/src/notification.cpp |
pankso@15957 | 24 mkdir build && cd build && |
pankso@15957 | 25 cmake \ |
pankso@15957 | 26 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pankso@15957 | 27 -DCOMPIZ_DESTDIR="../../install" \ |
pankso@15957 | 28 -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. && |
pankso@15957 | 29 make && make install |
pankso@15957 | 30 } |
pankso@15957 | 31 |
pankso@15957 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15957 | 33 genpkg_rules() |
pankso@15957 | 34 { |
pankso@15957 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@15957 | 36 cp -a $install/usr/lib/compiz $fs/usr/lib |
pankso@15957 | 37 cp -a $install/usr/share/compiz $fs/usr/share |
pankso@15957 | 38 } |