SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce-utils"

# SliTaz package receipt.

PACKAGE="xfce-utils"
VERSION="4.8.3"
CATEGORY="x-window"
SHORT_DESC="Xfce utilities"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.xfce.org"
WGET_URL="https://archive.xfce.org/src/archive/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="libxfce4util libxfce4ui startup-notification dbus-glib"
BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev intltool startup-notification-dev \
 util-linux-uuid-dev dbus-glib-dev libxfcegui4-dev xcb-util-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://gitlab.xfce.org/xfce/libxfce4util/-/tags?sort=updated_desc 2>/dev/null | \
    sed '/item-title/!d;s|.*util-||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --enable-dbus \
        --disable-debug \
        --with-browser=browser \
          --with-terminal=xterm \
        --mandir=/usr/share/man $CONFIGURE_ARGS && \
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $fs/usr/share/locale
    cp -a $install/usr/bin $fs/usr
    cp -a $install/etc $fs/
    cp -a $install/usr/share/icons $fs/usr/share
    cp -a $install/usr/share/dbus* $fs/usr/share
    cp -a $install/usr/share/icons $fs/usr/share
    cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    
    #Fix perms
    chmod 755 $fs/usr/bin/*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)