projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9623a9c
)
Added optional menu item to include speaker-test and wav files
author
Hamish Guthrie
<hcg@openwrt.org>
Fri, 6 Feb 2009 10:38:50 +0000
(10:38 +0000)
committer
Hamish Guthrie
<hcg@openwrt.org>
Fri, 6 Feb 2009 10:38:50 +0000
(10:38 +0000)
SVN-Revision: 14420
utils/alsa-utils/Makefile
patch
|
blob
|
history
diff --git
a/utils/alsa-utils/Makefile
b/utils/alsa-utils/Makefile
index 63356dca09abe2554b720b941de7f3506e2ee4f6..ec8c0842bf7273116ce0cd1165ebe4c5a947248c 100644
(file)
--- a/
utils/alsa-utils/Makefile
+++ b/
utils/alsa-utils/Makefile
@@
-27,6
+27,13
@@
define Package/alsa-utils
URL:=http://www.alsa-project.org/
endef
URL:=http://www.alsa-project.org/
endef
+define Package/alsa-utils-tests
+ $(call Package/alsa-utils/Default)
+ SECTION:=utils
+ CATEGORY:=Utilities
+ TITLE:=ALSA utilities test data (adds ~1.3M to image)
+endef
+
define Build/Configure
$(call Build/Configure/Default, \
--disable-rpath \
define Build/Configure
$(call Build/Configure/Default, \
--disable-rpath \
@@
-48,4
+55,14
@@
define Package/alsa-utils/install
$(1)/usr/share/alsa/init/
endef
$(1)/usr/share/alsa/init/
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/
+ $(INSTALL_DIR) $(1)/usr/share/sounds/alsa
+ $(INSTALL_DATA) \
+ $(PKG_INSTALL_DIR)/usr/share/sounds/alsa/* \
+ $(1)/usr/share/sounds/alsa/
+endef
+
$(eval $(call BuildPackage,alsa-utils))
$(eval $(call BuildPackage,alsa-utils))
+$(eval $(call BuildPackage,alsa-utils-tests))