wok-current view waterline-plugin-multiload/receipt @ rev 23244

updated ninja (1.9.0 -> 1.10.0)
author Hans-G?nter Theisgen
date Wed Mar 25 10:19:28 2020 +0100 (2020-03-25)
parents 6135577f4d08
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="waterline-plugin-multiload"
4 VERSION="f8b592a"
5 CATEGORY="x-window"
6 SHORT_DESC="multiload-nandhp is a port of the GNOME multiload applet to SDE waterline panel"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/sde-gui/waterline-plugin-multiload"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
12 TAGS="desktop panel"
14 DEPENDS="waterline libgtop"
15 BUILD_DEPENDS="automake libtool gtk+-dev jansson-dev libsde-utils \
16 libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \
17 xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev xz \
18 libgtop-dev lxpanel-dev waterline-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed 's|lxpanel/plugin.h>|&\n#include <lxpanel/private.h>|' \
24 -i lxpanel/lxpanel-multiload-plugin.c
25 rm -rf $src/.git
26 ./autogen.sh || return 1
27 sed 's#ls $srcdir/po/\*.po #& 2>/dev/null#' -i configure
28 ./configure \
29 --prefix=/usr \
30 --libexec=/usr/lib \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --disable-static \
34 --disable-maintainer-mode \
35 --enable-silent-rules \
36 --with-waterline \
37 --with-lxpanel \
38 --without-xfce4 \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib/waterline/plugins
48 cp -a $install/usr/lib/waterline/plugins/*.so $fs/usr/lib/waterline/plugins
49 }