wok-current rev 21478
updated mpc (0.25 -> 0.31)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 01 08:32:15 2019 +0100 (2019-05-01) |
parents | ccd227dcb249 |
children | 6d697e77739c |
files | mpc/receipt |
line diff
1.1 --- a/mpc/receipt Wed May 01 08:06:49 2019 +0100 1.2 +++ b/mpc/receipt Wed May 01 08:32:15 2019 +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 }