From: Vasilis Tsiligiannis Date: Sat, 14 Jul 2012 20:19:08 +0000 (+0000) Subject: alsa-utils: include midi utilities in alsa-utils X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=812d2403785caf525e3532d6b14ec14f8bf247ab;p=openwrt%2Fsvn-archive%2Fpackages.git alsa-utils: include midi utilities in alsa-utils Along with http://patchwork.openwrt.org/patch/2144/ and http://patchwork.openwrt.org/patch/2145/ this will enable the standard ALSA midi utilities to be used in openwrt. Signed-off-by: Adam Goode Signed-off-by: Vasilis Tsiligiannis SVN-Revision: 32713 --- diff --git a/utils/alsa-utils/Makefile b/utils/alsa-utils/Makefile index 8c6823e30..f203ecb06 100644 --- a/utils/alsa-utils/Makefile +++ b/utils/alsa-utils/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=alsa-utils PKG_VERSION:=1.0.24.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/utils/ \ @@ -27,6 +27,14 @@ define Package/alsa-utils URL:=http://www.alsa-project.org/ endef +define Package/alsa-utils-seq + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+alsa-lib +libpthread + TITLE:=ALSA sequencer utilities + URL:=http://www.alsa-project.org/ +endef + define Package/alsa-utils-tests $(call Package/alsa-utils/Default) SECTION:=utils @@ -60,6 +68,16 @@ define Package/alsa-utils/install $(1)/usr/share/alsa/init/ endef +define Package/alsa-utils-seq/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aconnect $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amidi $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aplaymidi $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arecordmidi $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aseqdump $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aseqnet $(1)/usr/bin/ +endef + define Package/alsa-utils-tests/install $(INSTALL_DIR) $(1)/usr/{s,}bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/speaker-test $(1)/usr/bin/ @@ -70,4 +88,5 @@ define Package/alsa-utils-tests/install endef $(eval $(call BuildPackage,alsa-utils)) +$(eval $(call BuildPackage,alsa-utils-seq)) $(eval $(call BuildPackage,alsa-utils-tests))