wok-current view cairo-dock-plugins/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 613b75574469 |
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="http://www.glx-dock.org/"
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 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p build &&
29 cd build &&
30 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/usr/share/cairo-dock $fs/usr/share
43 }