summaryrefslogtreecommitdiff
path: root/package/mpg123/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/mpg123/Makefile')
-rw-r--r--package/mpg123/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/package/mpg123/Makefile b/package/mpg123/Makefile
index 9ef90c5cf..37f6aee23 100644
--- a/package/mpg123/Makefile
+++ b/package/mpg123/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mpg123
-PKG_VERSION:= 1.25.2
+PKG_VERSION:= 1.3.1
PKG_RELEASE:= 1
-PKG_HASH:= 5314b0fb8ad291bfc79ff4c5c321b971916819a65233ec065434358fcf8aee38
+PKG_HASH:= 36ffe1ff2246da8606c35f5199f439d969da20eadeb2c4ef4278c7aca8f88a5d
PKG_DESCR:= mp3 console player
PKG_SECTION:= mm/audio
PKG_DEPENDS:= alsa-lib
@@ -21,8 +21,6 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MPG123,mpg123,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-AUTOTOOL_STYLE:= autoreconf
-
ifeq ($(ADK_TARGET_CPU_X86_I486),y)
CONFIGURE_ARGS+= --with-cpu=i486
endif
@@ -33,13 +31,19 @@ ifeq ($(ADK_TARGET_CPU_WITH_NEON),y)
CONFIGURE_ARGS+= --with-cpu=neon
endif
-TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
-CONFIGURE_ARGS+= --disable-shared \
- --with-default-audio=alsa
+CONFIGURE_ARGS+= --with-default-audio=alsa
mpg123-install:
$(INSTALL_DIR) $(IDIR_MPG123)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/mpg123 \
$(IDIR_MPG123)/usr/bin
+ $(INSTALL_DIR) $(IDIR_MPG123)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libmpg123*.so* \
+ $(IDIR_MPG123)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libltdl.so.3* \
+ $(IDIR_MPG123)/usr/lib
+ $(INSTALL_DIR) $(IDIR_MPG123)/usr/lib/mpg123
+ $(CP) $(WRKINST)/usr/lib/mpg123/* \
+ $(IDIR_MPG123)/usr/lib/mpg123
include ${ADK_TOPDIR}/mk/pkg-bottom.mk