wok view cairo-dock/receipt @ rev 25331

updated stella (6.6 -> 6.7)
author Hans-G?nter Theisgen
date Sat Jul 23 11:20:01 2022 +0100 (2022-07-23)
parents 613b75574469
children d80275dcc2c7
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-dock"
4 VERSION="3.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A light and eye-candy dock to launch."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.glx-dock.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 SUGGESTED="cairo-dock-plugins"
15 DEPENDS="cairo dbus gtk+ gtkglext libcurl librsvg mesa xorg-xcompmgr"
16 BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev
17 gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://launchpad.net/cairo-dock-core/ 2>/dev/null | \
23 sed '/Latest version/!d;s|.* is ||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|<glib/g.*h>|<glib.h>|' \
30 src/gldit/cairo-dock-keybinder.h
32 mkdir -p build &&
33 cd build &&
34 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
35 make &&
36 make DESTDIR=$DESTDIR install &&
38 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 mkdir -p $fs/usr/share/$PACKAGE
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/share/$PACKAGE $fs/usr/share
50 chmod a+x $fs/usr/lib/libgldi.so.$VERSION
51 }