# 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 }