wok annotate libmpdclient/receipt @ rev 25606

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 11:40:29 2023 +0000 (17 months ago)
parents 34e801e0eb52
children
rev   line source
erjo@4759 1 # SliTaz package receipt.
erjo@4759 2
erjo@4759 3 PACKAGE="libmpdclient"
devl547@19613 4 VERSION="2.10"
erjo@4759 5 CATEGORY="system-tools"
erjo@4759 6 SHORT_DESC="C & C++ API library for MPD."
erjo@4759 7 MAINTAINER="erjo@slitaz.org"
pascal@15473 8 LICENSE="BSD"
pascal@25580 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4759 10 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
pascal@25580 11 WGET_URL="https://github.com/MusicPlayerDaemon/libmpdclient/archive/refs/tags/v$VERSION.tar.gz"
pankso@16103 12 HOST_ARCH="i486 arm"
erjo@4759 13
pascal@14714 14 DEPENDS=""
pascal@25580 15 BUILD_DEPENDS="automake"
pascal@14714 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@25580 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@25580 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24497 22 }
pascal@24497 23
erjo@4759 24 # Rules to configure and make the package.
erjo@4759 25 compile_rules()
erjo@4759 26 {
pascal@25580 27 ./autogen.sh
erjo@4759 28 ./configure \
devl547@19613 29 --disable-documentation \
erjo@4759 30 $CONFIGURE_ARGS &&
pankso@16103 31 make && make install
erjo@4759 32 }
erjo@4759 33
erjo@4759 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4759 35 genpkg_rules()
erjo@4759 36 {
erjo@4759 37 mkdir -p $fs/usr/lib
pascal@14714 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@4759 39 }