aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
589 B
Makefile
22 lines
589 B
Makefile
################################################################################
|
|
#
|
|
# 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
|
|
$(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))
|