Changeset 14420


Ignore:
Timestamp:
2009-02-06T11:38:50+01:00 (7 years ago)
Author:
hcg
Message:

Added optional menu item to include speaker-test and wav files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/alsa-utils/Makefile

    r14169 r14420  
    2828endef 
    2929 
     30define Package/alsa-utils-tests 
     31  $(call Package/alsa-utils/Default) 
     32  SECTION:=utils 
     33  CATEGORY:=Utilities 
     34  TITLE:=ALSA utilities test data (adds ~1.3M to image) 
     35endef 
     36 
    3037define Build/Configure 
    3138        $(call Build/Configure/Default, \ 
     
    4956endef 
    5057 
     58define Package/alsa-utils-tests/install 
     59        $(INSTALL_DIR) $(1)/usr/{s,}bin 
     60        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/speaker-test $(1)/usr/bin/ 
     61        $(INSTALL_DIR) $(1)/usr/share/sounds/alsa 
     62        $(INSTALL_DATA) \ 
     63            $(PKG_INSTALL_DIR)/usr/share/sounds/alsa/* \ 
     64            $(1)/usr/share/sounds/alsa/ 
     65endef 
     66 
    5167$(eval $(call BuildPackage,alsa-utils)) 
     68$(eval $(call BuildPackage,alsa-utils-tests)) 
Note: See TracChangeset for help on using the changeset viewer.