SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-panel"

# SliTaz package receipt.

PACKAGE="xfce4-panel"
VERSION="4.12.0"
CATEGORY="x-window"
SHORT_DESC="Xfce Panel."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/xfce/xfce4-panel/start"

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

SUGGESTED="xfce4-panel-lang"
DEPENDS="dbus-glib garcon libexo libwnck libxfce4ui libxfce4util util-linux-uuid"
BUILD_DEPENDS="cairo-dev dbus-glib-dev garcon-dev intltool libexo-dev
    libwnck-dev libxfce4ui-dev libxfce4util-dev libxml2-dev
    util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-libXext-dev
    xorg-xextproto"

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

# Rules to configure and make the package.
compile_rules()
{
    export    CFLAGS="$CFLAGS -I/usr/include/dbus-1.0"

    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --disable-debug        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p        $fs/usr/share/xfce4/panel/plugins

    cook_copy_folders    bin
    cook_copy_folders    etc
    cook_copy_folders    icons
    cook_copy_files        migrate
    cook_copy_files        wrapper-1.0
    cook_copy_files        *.so*
    cp -a    $install/usr/share/xfce4/panel/plugins/*.desktop    \
        $fs/usr/share/xfce4/panel/plugins/

    # Strip everything
    find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
}
6011 packages and 861680 files in cooking database (Sun Jul 27 00:47:25 2025)