wok-current annotate ympd/receipt @ rev 16186

gtk+: fix version (was playing with ARM cook)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 18:40:35 2014 +0200 (2014-03-30)
parents 4e42c89bafc6
children 6ae8ed78da10
rev   line source
pankso@16173 1 # SliTaz package receipt.
pankso@16173 2
pankso@16173 3 PACKAGE="ympd"
pankso@16173 4 VERSION="master-1"
pankso@16173 5 CATEGORY="multimedia"
pankso@16173 6 SHORT_DESC="Lightweight MPD (Music Player Daemon) web client."
pankso@16173 7 MAINTAINER="pankso@slitaz.org"
pankso@16173 8 LICENSE="GPL2"
pankso@16173 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@16173 10 WEB_SITE="http://www.ympd.org/"
pankso@16173 11 WGET_URL="git|git://github.com/notandy/ympd.git"
pankso@16173 12 HOST_ARCH="i486 arm"
pankso@16173 13
pankso@16173 14 DEPENDS="mpd libmpdclient"
pankso@16173 15 BUILD_DEPENDS="libmpdclient-dev git"
pankso@16173 16
pankso@16186 17 # Handle cross compilation.
pankso@16186 18 case "$ARCH" in
pankso@16186 19 arm*)
pankso@16186 20 BUILD_DEPENDS="libmpdclient-dev"
pankso@16186 21 ARCH_ARGS="-DLIBMPDCLIENT_LIBRARY=/cross/$ARCH/sysroot/usr/lib \
pankso@16186 22 -DLIBMPDCLIENT_INCLUDE_DIR=/cross/$ARCH/sysroot/usr/include" ;;
pankso@16186 23 esac
pankso@16186 24
pankso@16173 25 # Rules to configure and make the package.
pankso@16173 26 compile_rules()
pankso@16173 27 {
pankso@16173 28 mkdir build && cd build
pankso@16173 29 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
pankso@16186 30 ${ARCH_ARGS} .. &&
pankso@16173 31 make && make install
pankso@16173 32 }
pankso@16173 33
pankso@16173 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16173 35 genpkg_rules()
pankso@16173 36 {
pankso@16173 37 mkdir -p $fs/usr
pankso@16173 38 cp -a $install/usr/bin $fs/usr
pankso@16173 39 }