wok-6.x view ympd/receipt @ rev 18989
Up: Iron Browser v24.0.1350.0 to v48.2550.0.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Fri Mar 18 03:39:02 2016 -0300 (2016-03-18) |
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 }