wok view mpc/receipt @ rev 24576
updated fswebcam (20140113 -> 20200725)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:49:46 2022 +0100 (2022-02-27) |
parents | 1246501a2275 |
children | 26718eedbc22 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc"
4 VERSION="0.33"
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 --prefix=/usr &&
29 ninja -C _build &&
30 ninja -C _build install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }