wok-6.x annotate cairo-dock-plugins/receipt @ rev 9040
Up: tazwok 4.2.4
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 04 02:43:18 2011 +0100 (2011-03-04) |
parents | 3e15b4d334a9 |
children | ad74a3e299b8 |
rev | line source |
---|---|
pankso@7880 | 1 # SliTaz package receipt. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock-plugins" |
pankso@7880 | 4 VERSION="2.2.0-4" |
pankso@7880 | 5 CATEGORY="x-window" |
pankso@7880 | 6 SHORT_DESC="Set of plugins for Cairo-Dock." |
pankso@7880 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8817 | 8 DEPENDS="dbus-glib cairo-dock" |
gokhlayeh@8805 | 9 BUILD_DEPENDS="cairo-dock-dev cmake" |
pankso@7880 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7880 | 11 WEB_SITE="http://www.glx-dock.org/" |
pankso@7880 | 12 WGET_URL="http://launchpad.net/cairo-dock-plug-ins/2.2/2.2.0/+download/$TARBALL" |
pankso@7880 | 13 |
pankso@7880 | 14 # Rules to configure and make the package. |
pankso@7880 | 15 compile_rules() |
pankso@7880 | 16 { |
pankso@7880 | 17 cd $src |
pankso@7880 | 18 mkdir -p build && cd build |
pankso@7880 | 19 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 20 make && |
pankso@7880 | 21 make DESTDIR=$src/_pkg install |
pankso@7880 | 22 } |
pankso@7880 | 23 |
pankso@7880 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 25 genpkg_rules() |
pankso@7880 | 26 { |
pankso@7880 | 27 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@7880 | 28 cp -a $_pkg/usr/lib $fs/usr |
pankso@7880 | 29 cp -a $_pkg/usr/share/cairo-dock $fs/usr/share |
pankso@7880 | 30 } |