commit 56939a2b0ed55ad0f4bf1c901588dc710e5f163e
parent e16d7305dd8f67bf00ffc60f8bd0b5b38fe2cdf7
Author: Alexander Ryzhov <gtihub@ryzhov-al.ru>
Date: Fri, 25 Sep 2015 10:14:49 -0400
mpg123: simplify deps, add more binaries
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sound/mpg123/Makefile b/sound/mpg123/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mpg123
PKG_VERSION:=1.22.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.mpg123.de/download/
@@ -43,7 +43,7 @@ define Package/mpg123
SECTION:=sound
CATEGORY:=Sound
TITLE:=fast console mpeg audio player
- DEPENDS+=+libmpg123 +alsa-lib +libsdl +libpthread
+ DEPENDS+=+libmpg123 +alsa-lib
endef
define Build/Configure
@@ -51,6 +51,7 @@ define Build/Configure
--enable-shared \
--enable-static \
--with-cpu=generic_nofpu \
+ --with-default-audio=alsa \
)
endef
@@ -86,7 +87,8 @@ endef
define Package/mpg123/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) \
- $(PKG_INSTALL_DIR)/usr/bin/mpg123 \
+ $(PKG_INSTALL_DIR)/usr/bin/mpg123{,-id3dump,-strip} \
+ $(PKG_INSTALL_DIR)/usr/bin/out123
$(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib/mpg123