2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=ftp
://ftp.alsa-project.org
/pub
/utils
/ \
16 http
://alsa.cybermirror.org
/utils
/
18 PKG_MD5SUM
:=6837e673ef19da96d8bd2f9e18cd9574
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/alsa-utils
26 DEPENDS
:=+alsa-lib
+libncurses
+libpthread
27 TITLE
:=ALSA
(Advanced Linux Sound Architecture
) utilities
28 URL
:=http
://www.alsa-project.org
/
31 define Package
/alsa-utils-tests
32 $(call Package
/alsa-utils
/Default
)
35 TITLE
:=ALSA utilities
test data
(adds ~
1.3M to image
)
38 define Build
/Configure
39 $(call Build
/Configure
/Default
, \
46 define Package
/alsa-utils
/install
47 $(INSTALL_DIR
) $(1)/usr
/{s
,}bin
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/amixer
$(1)/usr
/bin
/
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/alsamixer
$(1)/usr
/bin
/
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/aplay
$(1)/usr
/bin
/
51 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/alsactl
$(1)/usr
/sbin
/
53 $(INSTALL_DIR
) $(1)/usr
/share
/alsa
/init
55 $(PKG_INSTALL_DIR
)/usr
/share
/alsa
/init
/* \
56 $(1)/usr
/share
/alsa
/init
/
59 define Package
/alsa-utils-tests
/install
60 $(INSTALL_DIR
) $(1)/usr
/{s
,}bin
61 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/speaker-test
$(1)/usr
/bin
/
62 $(INSTALL_DIR
) $(1)/usr
/share
/sounds
/alsa
64 $(PKG_INSTALL_DIR
)/usr
/share
/sounds
/alsa
/* \
65 $(1)/usr
/share
/sounds
/alsa
/
68 $(eval
$(call BuildPackage
,alsa-utils
))
69 $(eval
$(call BuildPackage
,alsa-utils-tests
))