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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/mad \
17 ftp
://ftp.mars.org
/pub
/mpeg
/
18 PKG_MD5SUM
:=6814b47ceaa99880c754c5195aa1aac1
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/madplay
25 DEPENDS
:=+libid3tag
+libmad
26 TITLE
:=MPEG audio player in fixed point
27 URL
:=http
://sourceforge.net
/projects
/mad
30 define Package
/madplay
/description
31 MAD is an MPEG audio decoder. It currently only supports the MPEG
1
32 standard
, but fully implements
all three audio layers
(Layer I
, Layer II
,
33 and Layer III
, the latter often colloquially known
as MP3.
). There is also
34 full support for ID3
tags.
37 define Build
/Configure
38 $(call Build
/Configure
/Default
, \
43 --disable-experimental \
44 --without-libiconv-prefix \
45 --without-libintl-prefix \
54 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
55 DESTDIR
="$(PKG_INSTALL_DIR)" \
59 define Package
/madplay
/install
60 $(INSTALL_DIR
) $(1)/usr
/bin
61 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/madplay
$(1)/usr
/bin
/
64 $(eval
$(call BuildPackage
,madplay
))