1 ################################################################################
5 ################################################################################
7 MADPLAY_VERSION
= 0.15.2b
8 MADPLAY_SITE
= http
://downloads.sourceforge.net
/project
/mad
/madplay
/$(MADPLAY_VERSION
)
9 MADPLAY_LICENSE
= GPLv2
+
10 MADPLAY_LICENSE_FILES
= COPYING COPYRIGHT
11 MADPLAY_LIBTOOL_PATCH
= NO
12 MADPLAY_DEPENDENCIES
= libmad libid3tag
$(if
$(BR2_PACKAGE_GETTEXT
),gettext
)
14 # Check if ALSA is built, then we should configure after alsa-lib so
15 # ./configure can find alsa-lib.
16 ifeq ($(BR2_PACKAGE_MADPLAY_ALSA
),y
)
17 MADPLAY_CONF_OPTS
+= --with-alsa
18 MADPLAY_DEPENDENCIES
+= host-pkgconf alsa-lib
19 MADPLAY_CONF_ENV
+= LIBS
="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`"
22 $(eval
$(autotools-package
))