summaryrefslogtreecommitdiff
path: root/package/madplay/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/madplay/Makefile')
-rw-r--r--package/madplay/Makefile38
1 files changed, 38 insertions, 0 deletions
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