wok-current view cairo-dock/receipt @ rev 18300

iron-linux: fix menu shortcut
author Richard Dunbar <mojo@slitaz.org>
date Mon Aug 17 20:13:36 2015 -0400 (2015-08-17)
parents a7b54d88ae54
children 613b75574469
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 SUGGESTED="cairo-dock-plugins"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
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 }