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