wok view waterline-plugin-multiload/receipt @ rev 25507

plop: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:36:59 2023 +0000 (21 months ago)
parents 00a9a7506076
children
line source
1 # SliTaz package receipt.
3 PACKAGE="waterline-plugin-multiload"
4 GITHASH="f8b592ae7425db22370cc56f479645e75a1f9dad"
5 VERSION="f8b592a" # Jul 5, 2015
6 CATEGORY="x-window"
7 TAGS="desktop panel"
8 SHORT_DESC="Multiload-nandhp is a port of the GNOME multiload applet to SDE waterline panel."
9 MAINTAINER="psychomaniak@xakep.ru"
10 LICENSE="GPL2"
11 WEB_SITE="https://github.com/sde-gui/waterline-plugin-multiload"
13 TARBALL="$PACKAGE-$VERSION.zip"
14 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
16 DEPENDS="waterline libgtop libkeybinder libwnck"
17 BUILD_DEPENDS="alsa-lib-dev automake gtk+-dev jansson-dev libgtop-dev
18 libkeybinder-dev libsde-utils libsde-utils-gtk libsde-utils-jansson
19 libsde-utils-x11 libtool libwnck-dev lxpanel-dev menu-cache-dev
20 waterline-dev xorg-libXcomposite-dev xz"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
26 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 sed -i 's|lxpanel/plugin.h>|&\n#include <lxpanel/private.h>|' \
33 lxpanel/lxpanel-multiload-plugin.c
34 rm -rf $src/.git
35 ./autogen.sh || return 1
36 sed -i 's|ls $srcdir/po/\*.po |& 2>/dev/null|' configure
37 ./configure \
38 --prefix=/usr \
39 --libexec=/usr/lib \
40 --sysconfdir=/etc \
41 --localstatedir=/var \
42 --disable-static \
43 --disable-maintainer-mode \
44 --enable-silent-rules \
45 --with-waterline \
46 --with-lxpanel \
47 --without-xfce4 \
48 $CONFIGURE_ARGS &&
49 make &&
50 make install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib/waterline/plugins
57 cp -a $install/usr/lib/waterline/plugins/*.so \
58 $fs/usr/lib/waterline/plugins
59 }