commit d6f488d7f3e768b3d5f5f8c5b2c5ac7762fb26ca
parent 6b10101b159a3a61cbd982f429d0cb367ffaf04f
Author: Steven Barth <steven@midlink.org>
Date: Thu, 22 Oct 2015 10:35:55 +0200
Merge pull request #1808 from ryzhovau/mpg123-deps-and-bins
mpg123: simplify dependanciess, add more binaries
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