wok-current rev 22323

updated ympd (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Thu Nov 14 17:21:02 2019 +0100 (2019-11-14)
parents ef8598e320f4
children 7c5249848026
files ympd/receipt
line diff
     1.1 --- a/ympd/receipt	Thu Nov 14 17:10:01 2019 +0100
     1.2 +++ b/ympd/receipt	Thu Nov 14 17:21:02 2019 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ympd"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.3.0"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Lightweight MPD (Music Player Daemon) web client."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.ympd.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://www.ympd.org/"
    1.17 -WGET_URL="https://github.com/notandy/ympd/archive/v$VERSION.tar.gz"
    1.18 +WGET_URL="https://github.com/notandy/$PACKAGE/archive/v$VERSION.tar.gz"
    1.19 +
    1.20 +DEPENDS="libmpdclient mpd openssl"
    1.21 +BUILD_DEPENDS="cmake libmpdclient-dev openssl-dev"
    1.22 +
    1.23  #HOST_ARCH="i486 arm"
    1.24  
    1.25 -DEPENDS="mpd libmpdclient"
    1.26 -BUILD_DEPENDS="libmpdclient-dev wget cmake"
    1.27 -
    1.28  # Handle cross compilation.
    1.29  case "$ARCH" in
    1.30  	arm*) 
    1.31 @@ -26,9 +28,11 @@
    1.32  compile_rules()
    1.33  {
    1.34  	mkdir build && cd build
    1.35 -	cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    1.36 -		${ARCH_ARGS} .. &&
    1.37 -	make && make install
    1.38 +	cmake	..					\
    1.39 +		-DCMAKE_INSTALL_PREFIX:PATH=/usr	\
    1.40 +		${ARCH_ARGS} &&
    1.41 +	make &&
    1.42 +	make install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.