c3338050e56c677db3fca1961a70253d5b76e516
[openwrt/svn-archive/packages.git] / sound / madplay / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=madplay
11 PKG_VERSION:=0.15.2b
12 PKG_RELEASE:=2
13
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
18
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/madplay
24 SECTION:=sound
25 CATEGORY:=Sound
26 DEPENDS:=+libid3tag +libmad
27 TITLE:=MPEG audio player in fixed point
28 URL:=http://sourceforge.net/projects/mad
29 endef
30
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.
36 endef
37
38 define Build/Configure
39 $(call Build/Configure/Default, \
40 --enable-shared \
41 --disable-static \
42 --disable-debugging \
43 --disable-profiling \
44 --disable-experimental \
45 --without-libiconv-prefix \
46 --without-libintl-prefix \
47 --without-alsa \
48 --without-esd \
49 , \
50 LIBS="-lz" \
51 )
52 endef
53
54 define Package/madplay/install
55 $(INSTALL_DIR) $(1)/usr/bin
56 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/madplay $(1)/usr/bin/
57 endef
58
59 $(eval $(call BuildPackage,madplay))