summaryrefslogtreecommitdiff
path: root/package/libmad
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-15 20:21:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-15 20:21:51 +0200
commitbae480656aac1ec7ad3c2582bd6efe431298bcee (patch)
tree21fab15fbb7f159be3d6ec5ba7bc8f88fe2a76ec /package/libmad
parent1b7d3a76da05162c455659c2619cdb4f60feb8d6 (diff)
enable arm specific optimization in libmad, enable alsa output in madplay
Diffstat (limited to 'package/libmad')
-rw-r--r--package/libmad/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/libmad/Makefile b/package/libmad/Makefile
index 58faf3463..822ecb9b5 100644
--- a/package/libmad/Makefile
+++ b/package/libmad/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libmad
PKG_VERSION:= 0.15.1b
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 1be543bc30c56fb6bea1d7bf6a64e66c
PKG_DESCR:= An high-quality MPEG audio decoding library
PKG_SECTION:= libs
@@ -21,13 +21,13 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBMAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBMAD_DEV,libmad-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBMAD_DEV},${PKGSC_LIBMAD_DEV}))
-#FIXME
-XAKE_FLAGS+= GCC_HONOUR_COPTS=s
-
FPM:=default
ifeq (${ARCH},i386)
FPM:=intel
endif
+ifeq (${ARCH},arm)
+FPM:=arm
+endif
# MIPS optimization is broken for gcc 4.4 (removed h constraint)
#ifeq (${ARCH},mips)
#FPM:=mips
@@ -41,7 +41,7 @@ pre-install:
${INSTALL_DIR} ${WRKINST}/usr/lib/pkgconfig
${CP} ./files/mad.pc ${WRKINST}/usr/lib/pkgconfig
-post-install:
+libmad-install:
${INSTALL_DIR} ${IDIR_LIBMAD}/usr/lib
${CP} ${WRKINST}/usr/lib/libmad.so* ${IDIR_LIBMAD}/usr/lib/