SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "exo"

# SliTaz package receipt.

PACKAGE="exo"
VERSION="0.10.3"
CATEGORY="meta"
SHORT_DESC="Xfce Exo library and tools"
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/exo/${VERSION%.*}/$TARBALL"
COOK_OPT="!fs"

DEPENDS="exo-tools libexo libgio util-linux-uuid"
BUILD_DEPENDS="glib-dev gtk+-dev intltool libgio-dev libxfce4ui-dev
    libxfce4util-dev libxml2-dev perl-uri startup-notification-dev
    util-linux-uuid-dev xcb-util-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://archive.xfce.org/src/xfce/exo/$( \
    wget -O - https://archive.xfce.org/src/xfce/exo/ 2>/dev/null | \
    sed '/href="[0-4]/!d;s|.*">||;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()
{
    patch -p1 -i $stuff/helpers.rc.u
    export LDFLAGS="$LDFLAGS -lxcb-util"

    # 0.10.3 unrecognised:
    #    --disable-python
    ./configure                \
        --prefix=/usr            \
        --sysconfdir=/etc        \
        --libexecdir=/usr/lib/libexo    \
        --disable-debug            \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir $fs/usr
}
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)