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

Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 12 13:09:26 2016 +0200 (2016-11-12)
parents d6b99c62ef00
children 6135577f4d08
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="http://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 }