wok-6.x annotate xdg-utils/receipt @ rev 24525

Up libav (0.6.6 -> 12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 22 16:15:28 2022 +0000 (2022-02-22)
parents f90a38690df8
children 1805f71c5d9f
rev   line source
paul@3234 1 # SliTaz package receipt.
paul@3234 2
paul@3234 3 PACKAGE="xdg-utils"
Hans-G?nter@23745 4 VERSION="1.1.3"
paul@3234 5 CATEGORY="development"
paul@3234 6 SHORT_DESC="Assists desktop integration tasks."
paul@3234 7 MAINTAINER="paul@slitaz.org"
pascal@15601 8 LICENSE="MIT"
Hans-G?nter@23745 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/xdg-utils/"
Hans-G?nter@23745 10
monghitri@13985 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3234 12 WGET_URL="http://portland.freedesktop.org/download/$TARBALL"
pankso@16218 13 HOST_ARCH="i486 arm"
paul@3234 14
Hans-G?nter@23748 15 BUILD_DEPENDS="docbook-xsl lynx util-linux-getopt xmlto"
Hans-G?nter@23745 16
pascal@24465 17 # What is the latest version available today?
pascal@24465 18 current_version()
pascal@24465 19 {
pascal@24465 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24465 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24465 22 }
pascal@24465 23
paul@3234 24 # Rules to configure and make the package.
paul@3234 25 compile_rules()
paul@3234 26 {
Hans-G?nter@23745 27 ./configure \
Hans-G?nter@23745 28 --prefix=/usr \
paul@3234 29 $CONFIGURE_ARGS &&
Hans-G?nter@23745 30 make scripts &&
Hans-G?nter@23745 31 make install
paul@3234 32 }
paul@3234 33
paul@3234 34 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3234 35 genpkg_rules()
paul@3234 36 {
paul@3234 37 mkdir -p $fs/usr
Hans-G?nter@23745 38 cp -a $install/usr/bin $fs/usr
paul@3234 39 }