wok-current view mpc/receipt @ rev 25001

updated nnn (4.0 -> 4.5)
author Hans-G?nter Theisgen
date Mon May 16 14:07:26 2022 +0100 (2022-05-16)
parents 241fb98cab1c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc"
4 VERSION="0.34"
5 CATEGORY="multimedia"
6 SHORT_DESC="A command line tool to interface MPD."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.musicpd.org/clients/mpc/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.musicpd.org/download/mpc/${VERSION%.*}/$TARBALL"
14 DEPENDS="libmpdclient mpd"
15 BUILD_DEPENDS="libmpdclient-dev meson"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 compile_rules()
27 {
28 meson _build \
29 --prefix=/usr &&
30 ninja -C _build &&
31 ninja -C _build install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 }