wok-current view ympd/receipt @ rev 23766

qemu/cloop: tiny fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 06 19:55:46 2020 +0000 (2020-05-06)
parents 6135577f4d08
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="ympd"
4 VERSION="1.3.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Lightweight MPD (Music Player Daemon) web client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.ympd.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/notandy/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="libmpdclient mpd openssl"
15 BUILD_DEPENDS="cmake libmpdclient-dev openssl-dev"
17 #HOST_ARCH="i486 arm"
19 # Handle cross compilation.
20 case "$ARCH" in
21 arm*)
22 BUILD_DEPENDS="libmpdclient-dev"
23 ARCH_ARGS="-DLIBMPDCLIENT_LIBRARY=/cross/$ARCH/sysroot/usr/lib \
24 -DLIBMPDCLIENT_INCLUDE_DIR=/cross/$ARCH/sysroot/usr/include" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 mkdir build && cd build
31 cmake .. \
32 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
33 ${ARCH_ARGS} &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }