wok view ympd/receipt @ rev 16219

Up fpc-bootstrap (2.6.4) again...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 31 20:10:40 2014 +0000 (2014-03-31)
parents 6ae8ed78da10
children 55ae2a832163
line source
1 # SliTaz package receipt.
3 PACKAGE="ympd"
4 VERSION="master-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.bz2"
10 WEB_SITE="http://www.ympd.org/"
11 WGET_URL="git|git://github.com/notandy/ympd.git"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="mpd libmpdclient"
15 BUILD_DEPENDS="libmpdclient-dev git 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 }