wok view mpc/receipt @ rev 24411

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 09 17:57:59 2022 +0000 (2022-02-09)
parents a676735b06bb
children 241fb98cab1c
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 compile_rules()
20 {
21 meson . _build --prefix=/usr &&
22 ninja -C _build &&
23 ninja -C _build install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }