wok-6.x annotate ympd/receipt @ rev 22213

updated xorg-libXext and xorg-libXext-dev (1.3.2 -> 1.3.4)
author Hans-G?nter Theisgen
date Mon Nov 11 15:56:09 2019 +0100 (2019-11-11)
parents 55ae2a832163
children 5316b4469068
rev   line source
pankso@16173 1 # SliTaz package receipt.
pankso@16173 2
pankso@16173 3 PACKAGE="ympd"
pascal@16322 4 VERSION="1.2.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"
pascal@16322 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20679 10 WEB_SITE="https://www.ympd.org/"
pascal@16322 11 WGET_URL="https://github.com/notandy/ympd/archive/v$VERSION.tar.gz"
pankso@16218 12 #HOST_ARCH="i486 arm"
pankso@16173 13
pankso@16173 14 DEPENDS="mpd libmpdclient"
pascal@16322 15 BUILD_DEPENDS="libmpdclient-dev wget cmake"
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 }