wok-6.x view ympd/receipt @ rev 22285

updated xorg-xfontsel (1.0.3 -> 1.0.6)
author Hans-G?nter Theisgen
date Wed Nov 13 14:53:34 2019 +0100 (2019-11-13)
parents 55ae2a832163
children 5316b4469068
line source
1 # SliTaz package receipt.
3 PACKAGE="ympd"
4 VERSION="1.2.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Lightweight MPD (Music Player Daemon) web client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.ympd.org/"
11 WGET_URL="https://github.com/notandy/ympd/archive/v$VERSION.tar.gz"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="mpd libmpdclient"
15 BUILD_DEPENDS="libmpdclient-dev wget cmake"
17 # Handle cross compilation.
18 case "$ARCH" in
19 arm*)
20 BUILD_DEPENDS="libmpdclient-dev"
21 ARCH_ARGS="-DLIBMPDCLIENT_LIBRARY=/cross/$ARCH/sysroot/usr/lib \
22 -DLIBMPDCLIENT_INCLUDE_DIR=/cross/$ARCH/sysroot/usr/include" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build && cd build
29 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
30 ${ARCH_ARGS} .. &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }