wok-current diff mpc/receipt @ rev 22829

nqc obfsproxy shiki-colors* trickle vmware-view-open-client: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 11:00:21 2020 +0100 (2020-02-08)
parents 6e8b1bcb30e2
children 1246501a2275
line diff
     1.1 --- a/mpc/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/mpc/receipt	Sat Feb 08 11:00:21 2020 +0100
     1.3 @@ -1,28 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mpc"
     1.7 -VERSION="0.25"
     1.8 +VERSION="0.31"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="A command line tool to interface MPD."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.musicpd.org/clients/mpc/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="https://www.musicpd.org/clients/mpc/"
    1.17 -WGET_URL="https://www.musicpd.org/download/mpc/0/$TARBALL"
    1.18 -HOST_ARCH="i486 arm"
    1.19 +WGET_URL="https://www.musicpd.org/download/mpc/${VERSION%.*}/$TARBALL"
    1.20  
    1.21  DEPENDS="mpd libmpdclient"
    1.22 -BUILD_DEPENDS="libmpdclient-dev"
    1.23 +BUILD_DEPENDS="libmpdclient-dev meson"
    1.24 +
    1.25 +HOST_ARCH="i486 arm"
    1.26  
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure $CONFIGURE_ARGS
    1.30 -	make && make install
    1.31 +	meson . output --prefix=/usr
    1.32 +	ninja -C output
    1.33 +	ninja -C output install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/share/mpc
    1.40 +	mkdir -p $fs/usr
    1.41  	cp -a $install/usr/bin $fs/usr
    1.42  }