summaryrefslogtreecommitdiff
path: root/package/madplay
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/madplay
Initial import
Diffstat (limited to 'package/madplay')
-rw-r--r--package/madplay/Config.in12
-rw-r--r--package/madplay/Makefile38
-rw-r--r--package/madplay/ipkg/madplay.control6
3 files changed, 56 insertions, 0 deletions
diff --git a/package/madplay/Config.in b/package/madplay/Config.in
new file mode 100644
index 000000000..fab328aae
--- /dev/null
+++ b/package/madplay/Config.in
@@ -0,0 +1,12 @@
+config ADK_PACKAGE_MADPLAY
+ tristate "madplay........................... MPEG audio player in fixed point"
+ default n
+ select ADK_PACKAGE_LIBID3TAG
+ select ADK_PACKAGE_LIBMAD
+ help
+ MAD is an MPEG audio decoder. It currently only supports the MPEG 1
+ standard, but fully implements all three audio layers (Layer I, Layer II,
+ and Layer III, the latter often colloquially known as MP3.). There is also
+ full support for ID3 tags.
+
+
diff --git a/package/madplay/Makefile b/package/madplay/Makefile
new file mode 100644
index 000000000..1ab4b8c32
--- /dev/null
+++ b/package/madplay/Makefile
@@ -0,0 +1,38 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= madplay
+PKG_VERSION:= 0.15.2b
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 6814b47ceaa99880c754c5195aa1aac1
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/} \
+ ftp://ftp.mars.org/pub/mpeg/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,MADPLAY,madplay,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOST_CC} \
+ LIBS="-lz" \
+ ac_cv_linux_vers=2 \
+ td_cv_buggygetaddrinfo="no"
+CONFIGURE_ARGS+= --disable-debugging \
+ --disable-profiling \
+ --disable-experimental \
+ --without-libiconv-prefix \
+ --without-libintl-prefix \
+ --without-esd \
+ --with-alsa
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_MADPLAY}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/madplay ${IDIR_MADPLAY}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/madplay/ipkg/madplay.control b/package/madplay/ipkg/madplay.control
new file mode 100644
index 000000000..f776e7ca6
--- /dev/null
+++ b/package/madplay/ipkg/madplay.control
@@ -0,0 +1,6 @@
+Package: madplay
+Priority: optional
+Section: sound
+Description: MPEG audio player in fixed point
+Depends: libid3tag, libmad
+