SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "waterline-plugin-multiload"

# SliTaz package receipt.

PACKAGE="waterline-plugin-multiload"
GITHASH="f8b592ae7425db22370cc56f479645e75a1f9dad"
VERSION="f8b592a"    # Jul 5, 2015
CATEGORY="x-window"
TAGS="desktop panel"
SHORT_DESC="Multiload-nandhp is a port of the GNOME multiload applet to SDE waterline panel."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="https://github.com/sde-gui/waterline-plugin-multiload"

TARBALL="$PACKAGE-$VERSION.zip"
WGET_URL="$WEB_SITE/archive/$GITHASH.zip"

DEPENDS="waterline libgtop libkeybinder libwnck"
BUILD_DEPENDS="alsa-lib-dev automake gtk+-dev jansson-dev libgtop-dev 
    libkeybinder-dev libsde-utils libsde-utils-gtk libsde-utils-jansson
    libsde-utils-x11 libtool libwnck-dev lxpanel-dev menu-cache-dev
    waterline-dev xorg-libXcomposite-dev xz"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i    's|lxpanel/plugin.h>|&\n#include <lxpanel/private.h>|' \
        lxpanel/lxpanel-multiload-plugin.c
    rm -rf $src/.git
    ./autogen.sh || return 1
    sed -i    's|ls $srcdir/po/\*.po |& 2>/dev/null|'    configure
    ./configure                \
        --prefix=/usr            \
        --libexec=/usr/lib        \
        --sysconfdir=/etc        \
        --localstatedir=/var        \
        --disable-static        \
        --disable-maintainer-mode    \
        --enable-silent-rules        \
        --with-waterline        \
        --with-lxpanel            \
        --without-xfce4            \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/waterline/plugins
    cp -a $install/usr/lib/waterline/plugins/*.so \
            $fs/usr/lib/waterline/plugins
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)