2014-09-28 14:04:02 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ympd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-26 19:45:46 +01:00
|
|
|
YMPD_VERSION = v1.2.3
|
2014-09-28 14:04:02 +02:00
|
|
|
YMPD_SITE = $(call github,notandy,ympd,$(YMPD_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
YMPD_LICENSE = GPL-2.0
|
2014-12-19 00:02:20 +01:00
|
|
|
YMPD_LICENSE_FILES = LICENSE
|
2014-09-28 14:04:02 +02:00
|
|
|
YMPD_DEPENDENCIES = libmpdclient
|
|
|
|
|
|
|
|
define YMPD_MAKE_HOST_TOOL
|
2014-10-25 20:29:31 +02:00
|
|
|
$(HOSTCC) $(HOST_CFLAGS) $(@D)/htdocs/mkdata.c -o $(@D)/mkdata
|
2014-09-28 14:04:02 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
YMPD_PRE_BUILD_HOOKS += YMPD_MAKE_HOST_TOOL
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
YMPD_CONF_OPTS += -DMKDATA_EXE=$(@D)/mkdata
|
2014-09-28 14:04:02 +02:00
|
|
|
|
|
|
|
$(eval $(cmake-package))
|