2 # Copyright (C) 2006-2015 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 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Simon Peter
<probono@puredarwin.org
>
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/nls.mk
27 define Package
/madplay
30 DEPENDS
:=+libid3tag
+libmad
$(INTL_DEPENDS
)
31 TITLE
:=MPEG audio player in fixed point
32 URL
:=http
://sourceforge.net
/projects
/mad
35 define Package
/madplay
/description
36 MAD is an MPEG audio decoder. It currently only supports the MPEG
1
37 standard
, but fully implements
all three audio layers
(Layer I
, Layer II
,
38 and Layer III
, the latter often colloquially known
as MP3.
). There is also
39 full support for ID3
tags.
42 define Build
/Configure
43 $(call Build
/Configure
/Default
, \
48 --disable-experimental \
49 --without-libiconv-prefix \
50 --without-libintl-prefix \
58 define Package
/madplay
/install
59 $(INSTALL_DIR
) $(1)/usr
/bin
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/madplay
$(1)/usr
/bin
/
63 $(eval
$(call BuildPackage
,madplay
))