summaryrefslogtreecommitdiffstats
path: root/package/multimedia/madplay/madplay.mk
blob: d68c86b3206b7e56b333ec10a771028eaeec809a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# madplay
#
#############################################################

MADPLAY_VERSION = 0.15.2b
MADPLAY_SOURCE = madplay-$(MADPLAY_VERSION).tar.gz
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

# 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))