wok-next annotate cairo-dock/receipt @ rev 20011
cairo-dock: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 18:36:22 2017 +0200 (2017-10-21) |
parents | 7d6089953592 |
children | 5281f6693470 |
rev | line source |
---|---|
pankso@7880 | 1 # SliTaz package receipt. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock" |
slaxemulator@11076 | 4 VERSION="2.4.0~2" |
pankso@7880 | 5 CATEGORY="x-window" |
pankso@7880 | 6 SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch." |
pankso@7880 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14997 | 8 LICENSE="GPL3" |
al@14789 | 9 WEB_SITE="http://www.glx-dock.org/" |
al@14789 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14789 | 11 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL" |
al@14789 | 12 |
al@14789 | 13 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl" |
pankso@7880 | 14 BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \ |
pascal@20011 | 15 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev \ |
pascal@20011 | 16 xorg-libXtst-dev xorg-libXcomposite-dev libglu-mesa-dev gettext-tools" |
pankso@7880 | 17 SUGGESTED="cairo-dock-plugins" |
pankso@7880 | 18 |
pankso@7880 | 19 # Rules to configure and make the package. |
pankso@7880 | 20 compile_rules() |
pankso@7880 | 21 { |
pascal@12876 | 22 sed -i 's|<glib/g.*h>|<glib.h>|' src/gldit/cairo-dock-keybinder.h |
pankso@7880 | 23 mkdir -p build && cd build |
pankso@7880 | 24 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 25 make && |
slaxemulator@11076 | 26 make DESTDIR=$DESTDIR install && |
slaxemulator@11076 | 27 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/* |
pankso@7880 | 28 } |
pankso@7880 | 29 |
pankso@7880 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 31 genpkg_rules() |
pankso@7880 | 32 { |
pankso@7880 | 33 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE |
pascal@13796 | 34 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13796 | 36 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
al@14789 | 37 chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2 |
pankso@7880 | 38 } |