wok view cairo-dock-plugins/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (7 weeks ago)
parents fe1b5660fdd1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-dock-plugins"
4 VERSION="3.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Set of plugins for Cairo-Dock."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/Cairo-Dock/cairo-dock-plug-ins"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Cairo-Dock/cairo-dock-plug-ins/releases/download/$VERSION/cairo-dock-plug-ins-$VERSION.tar.gz"
14 DEPENDS="cairo-dock dbus-glib libcurl"
15 BUILD_DEPENDS="alsa-lib cairo-dev cairo-dock-dev cmake curl-dev
16 dbus-dev dbus-glib-dev gtk+3-dev gtkglext-dev librsvg-dev
17 libxml2-dev mesa-dev wayland-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p build &&
30 cd build &&
31 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/lib $fs/usr
43 cp -a $install/usr/share/cairo-dock $fs/usr/share
44 }