SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-weather-plugin"

# SliTaz package receipt.

PACKAGE="xfce4-weather-plugin"
VERSION="0.8.11"
                                                                                                                                                                                                                                                                CATEGORY="x-window"
SHORT_DESC="Weather plugin for the Xfce4 panel."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/panel-plugins/xfce4-weather-plugin/start"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://archive.xfce.org/src/panel-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"

SUGGESTED="xfce4-weather-plugin-lang"
DEPENDS="gdk-pixbuf gtk+ libsoup libxfcegui4 xfce4-panel"
BUILD_DEPENDS="file gdk-pixbuf-dev gtk+-dev libsoup-dev libxfcegui4-dev
    libxfce4ui-dev pkg-config sqlite-dev startup-notification-dev
    xcb-util-dev xfce4-panel-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    # new API versions required
    patch    --strip=0 --input=$stuff/patches/weather.c-0.8.11 &&

    ./configure        \
        --prefix=/usr    \
        --enable-nls    \
        --enable-static=no &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files        *.desktop
    cook_copy_files        *.so*
    cook_copy_folders    icons
}
6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)