[packages] normalize PKG_FIXUP - the "libtool" fixup is merely an alias for "autoreco...
[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:=3
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_FIXUP:=autoreconf
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/madplay
25   SECTION:=sound
26   CATEGORY:=Sound
27   DEPENDS:=+libid3tag +libmad
28   TITLE:=MPEG audio player in fixed point
29   URL:=http://sourceforge.net/projects/mad
30 endef
31
32 define Package/madplay/description
33         MAD is an MPEG audio decoder. It currently only supports the MPEG 1 
34         standard, but fully implements all three audio layers (Layer I, Layer II, 
35         and Layer III, the latter often colloquially known as MP3.). There is also 
36         full support for ID3 tags.
37 endef
38
39 define Build/Configure
40         $(call Build/Configure/Default, \
41                 --enable-shared \
42                 --disable-static \
43                 --disable-debugging \
44                 --disable-profiling \
45                 --disable-experimental \
46                 --without-libiconv-prefix \
47                 --without-libintl-prefix \
48                 --without-alsa \
49                 --without-esd \
50                 , \
51                 LIBS="-lz" \
52         )
53 endef
54
55 define Package/madplay/install
56         $(INSTALL_DIR) $(1)/usr/bin
57         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/madplay $(1)/usr/bin/
58 endef
59
60 $(eval $(call BuildPackage,madplay))