SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xdg-utils"

# SliTaz package receipt.

PACKAGE="xdg-utils"
VERSION="1.1.3"
CATEGORY="development"
SHORT_DESC="Assists desktop integration tasks."
MAINTAINER="paul@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.freedesktop.org/wiki/Software/xdg-utils/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://portland.freedesktop.org/download/$TARBALL"
HOST_ARCH="i486 arm"

BUILD_DEPENDS="docbook-xsl lynx util-linux-getopt xmlto"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make scripts &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin    $fs/usr
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)