SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfdesktop"

# SliTaz package receipt.

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

DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify"
BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libwnck-dev \
xfconf-dev libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool \
util-linux-uuid-dev dbus-glib libxfce4ui-dev xcb-util-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --enable-notifications \
    --enable-gio-unix \
    --enable-thunarx \
    --disable-static \
    --libexecdir=/usr/lib/$PACKAGE \
    --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/lib \
        $fs/usr/share/locale \
        $fs/usr/share/xfce4

    cp -a $install/usr/bin $fs/usr
    #~ cp -a $install/etc $fs/
    #~ cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    #~ cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    cp -a $install/usr/share/applications $fs/usr/share
    #~ cp -a $install/usr/share/desktop-directories $fs/usr/share
    #~ cp -a $install/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
    
    #~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*

}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)