SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfwm4"

# SliTaz package receipt.

PACKAGE="xfwm4"
VERSION="4.12.0"
CATEGORY="x-window"
TAGS="window-manager"
SHORT_DESC="Xfce Window Manager."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/xfce/xfwm4/start"

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

DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xfconf"
BUILD_DEPENDS="dbus-glib-dev intltool libwnck-dev libxfce4ui-dev libxfce4util-dev
    libxml2-dev util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-compositeproto"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --mandir=/usr/share/man        \
        --disable-debug            \
         --enable-randr            \
         --enable-render        \
         --enable-startup-notification    \
        --disable-static        \
        $CONFIGURE_ARGS &&
    make &&
    make  install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    icons
    cook_copy_folders    themes
    cook_copy_folders    xfwm4

    # Remove SVG icons
    test -d    $fs/usr/share/icons/hicolor/scalable &&
    rm -rf    $fs/usr/share/icons/hicolor/scalable
}
6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)