wok annotate mt-daapd/receipt @ rev 25606

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 11:40:29 2023 +0000 (16 months ago)
parents afae00265386
children
rev   line source
pascal@17306 1 # SliTaz package receipt.
pascal@17306 2
pascal@17306 3 PACKAGE="mt-daapd"
pascal@17306 4 VERSION="0.2.4.2"
pascal@17306 5 CATEGORY="multimedia"
pascal@17306 6 SHORT_DESC="Media server for the Roku SoundBridge and iTunes."
pascal@17306 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17306 8 LICENSE="GPL2"
pascal@17306 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17306 10 WEB_SITE="http://fireflymediaserver.org/"
pascal@17306 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@17482 12 PROVIDE="firefly"
pascal@17306 13
pascal@17306 14 DEPENDS="gdbm libid3tag zlib"
pascal@17306 15 BUILD_DEPENDS="gdbm-dev libid3tag-dev glib"
pascal@17306 16
pascal@24402 17 # What is the latest version available today?
pascal@24402 18 current_version()
pascal@24402 19 {
pascal@24402 20 wget -O - https://sourceforge.net/projects/mt-daapd/files/mt-daapd/ 2>/dev/null | \
pascal@25606 21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24402 22 sed '/scope="row/!d;s|.*/mt-daapd/||;s|/.*||;q'
pascal@24402 23 }
pascal@24402 24
pascal@17306 25 # Rules to configure and make the package.
pascal@17306 26 #
pascal@17306 27 compile_rules()
pascal@17306 28 {
pascal@17306 29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@17306 30 make &&
pascal@17306 31 make DESTDIR=$DESTDIR install
pascal@17306 32 }
pascal@17306 33
pascal@17306 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17306 35 genpkg_rules()
pascal@17306 36 {
pascal@17306 37 cp -a $install/usr $fs
pascal@17306 38 }