wok-current annotate libmpdclient/receipt @ rev 24519

updated etherape (0.9.18 -> 0.9.20)
author Hans-G?nter Theisgen
date Tue Feb 22 14:48:21 2022 +0100 (2022-02-22)
parents 6e8b1bcb30e2
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"
devl547@19613 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
erjo@4759 10 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
pascal@20671 11 WGET_URL="https://www.musicpd.org/download/$PACKAGE/2/$TARBALL"
pankso@16103 12 HOST_ARCH="i486 arm"
erjo@4759 13
pascal@14714 14 DEPENDS=""
pascal@14714 15
pascal@24497 16 # What is the latest version available today?
pascal@24497 17 current_version()
pascal@24497 18 {
pascal@24497 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24497 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24497 21 }
pascal@24497 22
erjo@4759 23 # Rules to configure and make the package.
erjo@4759 24 compile_rules()
erjo@4759 25 {
erjo@4759 26 cd $src
erjo@4759 27 ./configure \
devl547@19613 28 --disable-documentation \
erjo@4759 29 $CONFIGURE_ARGS &&
pankso@16103 30 make && make install
erjo@4759 31 }
erjo@4759 32
erjo@4759 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4759 34 genpkg_rules()
erjo@4759 35 {
erjo@4759 36 mkdir -p $fs/usr/lib
pascal@14714 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@4759 38 }
erjo@4759 39