Merge pull request #1808 from ryzhovau/mpg123-deps-and-bins
mpg123: simplify dependanciess, add more binaries
This commit is contained in:
commit
d6f488d7f3
1 changed files with 5 additions and 3 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=mpg123
|
PKG_NAME:=mpg123
|
||||||
PKG_VERSION:=1.22.3
|
PKG_VERSION:=1.22.3
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://www.mpg123.de/download/
|
PKG_SOURCE_URL:=http://www.mpg123.de/download/
|
||||||
|
@ -43,7 +43,7 @@ define Package/mpg123
|
||||||
SECTION:=sound
|
SECTION:=sound
|
||||||
CATEGORY:=Sound
|
CATEGORY:=Sound
|
||||||
TITLE:=fast console mpeg audio player
|
TITLE:=fast console mpeg audio player
|
||||||
DEPENDS+=+libmpg123 +alsa-lib +libsdl +libpthread
|
DEPENDS+=+libmpg123 +alsa-lib
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
|
@ -51,6 +51,7 @@ define Build/Configure
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--with-cpu=generic_nofpu \
|
--with-cpu=generic_nofpu \
|
||||||
|
--with-default-audio=alsa \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -86,7 +87,8 @@ endef
|
||||||
define Package/mpg123/install
|
define Package/mpg123/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_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
|
$(1)/usr/bin
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/mpg123
|
$(INSTALL_DIR) $(1)/usr/lib/mpg123
|
||||||
|
|
Loading…
Reference in a new issue