2014-09-28 14:04:02 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ympd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
YMPD_VERSION = a98d760dddff4b0dd595d977c9077f34beff05c5
|
|
|
|
YMPD_SITE = $(call github,notandy,ympd,$(YMPD_VERSION))
|
|
|
|
YMPD_LICENSE = GPLv2
|
|
|
|
YMPD_LICENSE_FILE = LICENSE
|
|
|
|
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))
|