kumquat-buildroot/package/ympd/ympd.mk
Rahul Bedarkar af31c309e7 boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+
We want to use SPDX identifier for license strings as much as possible.
SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+.

This change is done by using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:16:38 +02:00

22 lines
551 B
Makefile

################################################################################
#
# ympd
#
################################################################################
YMPD_VERSION = v1.2.3
YMPD_SITE = $(call github,notandy,ympd,$(YMPD_VERSION))
YMPD_LICENSE = GPL-2.0
YMPD_LICENSE_FILES = LICENSE
YMPD_DEPENDENCIES = libmpdclient
define YMPD_MAKE_HOST_TOOL
$(HOSTCC) $(HOST_CFLAGS) $(@D)/htdocs/mkdata.c -o $(@D)/mkdata
endef
YMPD_PRE_BUILD_HOOKS += YMPD_MAKE_HOST_TOOL
YMPD_CONF_OPTS += -DMKDATA_EXE=$(@D)/mkdata
$(eval $(cmake-package))