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 util-linux-uuid libgio"
BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev intltool \
util-linux-uuid-dev libgio-dev glib-dev gtk+-dev libxfce4ui-dev libxml2-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"
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --libexecdir=/usr/lib/libexo \
        --disable-debug \
        --mandir=/usr/share/man \
        --disable-python \
        $CONFIGURE_ARGS && \
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)