2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/mad \
16 ftp
://ftp.mars.org
/pub
/mpeg
/
17 PKG_MD5SUM
:=6814b47ceaa99880c754c5195aa1aac1
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/madplay
24 DEPENDS
:=+libid3tag
+libmad
25 TITLE
:=MPEG audio player in fixed point
26 URL
:=http
://sourceforge.net
/projects
/mad
29 define Package
/madplay
/description
30 MAD is an MPEG audio decoder. It currently only supports the MPEG
1
31 standard
, but fully implements
all three audio layers
(Layer I
, Layer II
,
32 and Layer III
, the latter often colloquially known
as MP3.
). There is also
33 full support for ID3
tags.
36 define Build
/Configure
37 $(call Build
/Configure
/Default
, \
42 --disable-experimental \
43 --without-libiconv-prefix \
44 --without-libintl-prefix \
53 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
54 DESTDIR
="$(PKG_INSTALL_DIR)" \
58 define Package
/madplay
/install
59 $(INSTALL_DIR
) $(1)/usr
/bin
60 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/madplay
$(1)/usr
/bin
/
63 $(eval
$(call BuildPackage
,madplay
))