2 # Copyright (C) 2006-2010 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
21 include $(INCLUDE_DIR)/package.mk
23 define Package/madplay
26 DEPENDS:=+libid3tag +libmad
27 TITLE:=MPEG audio player in fixed point
28 URL:=http://sourceforge.net/projects/mad
31 define Package/madplay/description
32 MAD is an MPEG audio decoder. It currently only supports the MPEG 1
33 standard, but fully implements all three audio layers (Layer I, Layer II,
34 and Layer III, the latter often colloquially known as MP3.). There is also
35 full support for ID3 tags.
38 define Build/Configure
39 $(call Build/Configure/Default, \
44 --disable-experimental \
45 --without-libiconv-prefix \
46 --without-libintl-prefix \
54 define Package/madplay/install
55 $(INSTALL_DIR) $(1)/usr/bin
56 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/madplay $(1)/usr/bin/
59 $(eval $(call BuildPackage,madplay))