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