wok annotate ympd/receipt @ rev 23033

updated libgdiplus and libggdiplus-dev again (2.10 -> 6.0.4)
author Hans-G?nter Theisgen
date Wed Mar 04 07:21:48 2020 +0100 (2020-03-04)
parents 6135577f4d08
children 5ea0ce1cecc0
rev   line source
pankso@16173 1 # SliTaz package receipt.
pankso@16173 2
pankso@16173 3 PACKAGE="ympd"
Hans-G?nter@22323 4 VERSION="1.3.0"
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"
Hans-G?nter@22323 9 WEB_SITE="https://www.ympd.org/"
Hans-G?nter@22323 10
pascal@16322 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22323 12 WGET_URL="https://github.com/notandy/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@22323 13
Hans-G?nter@22323 14 DEPENDS="libmpdclient mpd openssl"
Hans-G?nter@22323 15 BUILD_DEPENDS="cmake libmpdclient-dev openssl-dev"
Hans-G?nter@22323 16
pankso@16218 17 #HOST_ARCH="i486 arm"
pankso@16173 18
pankso@16186 19 # Handle cross compilation.
pankso@16186 20 case "$ARCH" in
pankso@16186 21 arm*)
pankso@16186 22 BUILD_DEPENDS="libmpdclient-dev"
pankso@16186 23 ARCH_ARGS="-DLIBMPDCLIENT_LIBRARY=/cross/$ARCH/sysroot/usr/lib \
pankso@16186 24 -DLIBMPDCLIENT_INCLUDE_DIR=/cross/$ARCH/sysroot/usr/include" ;;
pankso@16186 25 esac
pankso@16186 26
pankso@16173 27 # Rules to configure and make the package.
pankso@16173 28 compile_rules()
pankso@16173 29 {
pankso@16173 30 mkdir build && cd build
Hans-G?nter@22323 31 cmake .. \
Hans-G?nter@22323 32 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
Hans-G?nter@22323 33 ${ARCH_ARGS} &&
Hans-G?nter@22323 34 make &&
Hans-G?nter@22323 35 make install
pankso@16173 36 }
pankso@16173 37
pankso@16173 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16173 39 genpkg_rules()
pankso@16173 40 {
pankso@16173 41 mkdir -p $fs/usr
pankso@16173 42 cp -a $install/usr/bin $fs/usr
pankso@16173 43 }