35cb43b9d8
Otherwise build fails in intl/relocatable.c with: ./relocatable.c: In function 'libintl_relocate': ./relocatable.c:402:40: error: 'INSTALLPREFIX' undeclared (first use in this function) ./relocatable.c:402:40: note: each undeclared identifier is reported only once for each function it appears in [Peter: drop redundant 'else' part] Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
702 B
Makefile
22 lines
702 B
Makefile
################################################################################
|
|
#
|
|
# madplay
|
|
#
|
|
################################################################################
|
|
|
|
MADPLAY_VERSION = 0.15.2b
|
|
MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION)
|
|
MADPLAY_LICENSE = GPLv2+
|
|
MADPLAY_LICENSE_FILES = COPYING COPYRIGHT
|
|
MADPLAY_LIBTOOL_PATCH = NO
|
|
MADPLAY_DEPENDENCIES = libmad libid3tag $(if $(BR2_PACKAGE_GETTEXT),gettext)
|
|
|
|
# Check if ALSA is built, then we should configure after alsa-lib so
|
|
# ./configure can find alsa-lib.
|
|
ifeq ($(BR2_PACKAGE_MADPLAY_ALSA),y)
|
|
MADPLAY_CONF_OPT += --with-alsa
|
|
MADPLAY_DEPENDENCIES += alsa-lib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|