wok-current annotate cairo-dock-plugins/receipt @ rev 12710
cross-arm-gcc: improve receipt, use --libexecdir= and --disable-threads
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 04 15:59:16 2012 +0200 (2012-05-04) |
parents | 6b85ad9b0e09 |
children | 6b09507225ec |
rev | line source |
---|---|
pankso@7880 | 1 # SliTaz package receipt. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock-plugins" |
slaxemulator@11077 | 4 VERSION="2.4.0~2" |
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" |
pascal@12669 | 9 BUILD_DEPENDS="wget dbus-glib-dev cairo-dock-dev cmake alsa-lib \ |
pascal@10707 | 10 gtk+-dev cairo-dev librsvg-dev dbus-dev libxml2-dev gtkglext-dev mesa-dev" |
pankso@7880 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7880 | 12 WEB_SITE="http://www.glx-dock.org/" |
pascal@12669 | 13 WGET_URL="https://launchpad.net/cairo-dock-plug-ins/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL" |
pankso@7880 | 14 |
pankso@7880 | 15 # Rules to configure and make the package. |
pankso@7880 | 16 compile_rules() |
pankso@7880 | 17 { |
pankso@7880 | 18 cd $src |
pankso@7880 | 19 mkdir -p build && cd build |
pankso@7880 | 20 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 21 make && |
pascal@10614 | 22 make DESTDIR=$DESTDIR install |
pankso@7880 | 23 } |
pankso@7880 | 24 |
pankso@7880 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 26 genpkg_rules() |
pankso@7880 | 27 { |
pankso@7880 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@7880 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@7880 | 30 cp -a $_pkg/usr/share/cairo-dock $fs/usr/share |
pankso@7880 | 31 } |