kumquat-buildroot/package/multimedia/madplay/madplay.mk
Thomas Petazzoni 8e4a53cf8c madplay: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:46 +02:00

20 lines
621 B
Makefile

#############################################################
#
# madplay
#
#############################################################
MADPLAY_VERSION:=0.15.2b
MADPLAY_SOURCE:=madplay-$(MADPLAY_VERSION).tar.gz
MADPLAY_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mad
MADPLAY_LIBTOOL_PATCH=NO
MADPLAY_DEPENDENCIES=libmad libid3tag
# 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 $(call AUTOTARGETS,package/multimedia,madplay))