SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-calculator-plugin"

# SliTaz package receipt.

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

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

DEPENDS="gdk-pixbuf gtk+ libxfcegui4 xfce4-panel"
BUILD_DEPENDS="file gdk-pixbuf-dev gtk+-dev libxfcegui4-dev libxfce4ui-dev
    pkg-config 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()
{
    ./configure                    \
        --prefix=/usr                \
        --enable-nls &&
    make &&
    make install
}

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