0d7e33f67c
First patch is removed because a solution was found upstream. The second one needs to be sent. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
549 B
Makefile
22 lines
549 B
Makefile
################################################################################
|
|
#
|
|
# ympd
|
|
#
|
|
################################################################################
|
|
|
|
YMPD_VERSION = v1.2.3
|
|
YMPD_SITE = $(call github,notandy,ympd,$(YMPD_VERSION))
|
|
YMPD_LICENSE = GPLv2
|
|
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))
|