1################################################################################ 2# 3# madplay 4# 5################################################################################ 6 7MADPLAY_VERSION = 0.15.2b 8MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION) 9MADPLAY_LICENSE = GPL-2.0+ 10MADPLAY_LICENSE_FILES = COPYING COPYRIGHT 11MADPLAY_DEPENDENCIES = host-pkgconf libmad libid3tag $(TARGET_NLS_DEPENDENCIES) 12 13# Force autoreconf to be able to use a more recent libtool script, that 14# is able to properly behave in the face of a missing C++ compiler. 15# Also 0003-configure-ac-use-pkg-config-to-find-id3tag.patch 16MADPLAY_AUTORECONF = YES 17 18# Check if ALSA is built, then we should configure after alsa-lib so 19# ./configure can find alsa-lib. 20ifeq ($(BR2_PACKAGE_MADPLAY_ALSA),y) 21MADPLAY_CONF_OPTS += --with-alsa 22MADPLAY_DEPENDENCIES += alsa-lib 23MADPLAY_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`" 24endif 25 26$(eval $(autotools-package)) 27