Update alsa-lib and alsa-utils to 1.0.19
[openwrt/svn-archive/archive.git] / utils / alsa-utils / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=alsa-utils
12 PKG_VERSION:=1.0.19
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/utils/
17 PKG_MD5SUM:=5ff0379c707c1a29083233edc9ab4e06
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/alsa-utils
23 SECTION:=utils
24 CATEGORY:=Utilities
25 DEPENDS:=+alsa-lib +libncurses +libpthread
26 TITLE:=ALSA (Advanced Linux Sound Architecture) utilities
27 URL:=http://www.alsa-project.org/
28 endef
29
30 define Build/Configure
31 $(call Build/Configure/Default, \
32 --disable-rpath \
33 --disable-alsatest \
34 --disable-xmlto \
35 )
36 endef
37
38 define Package/alsa-utils/install
39 $(INSTALL_DIR) $(1)/usr/{s,}bin
40 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amixer $(1)/usr/bin/
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alsamixer $(1)/usr/bin/
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aplay $(1)/usr/bin/
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/alsactl $(1)/usr/sbin/
44
45 $(INSTALL_DIR) $(1)/usr/share/alsa/init
46 $(INSTALL_DATA) \
47 $(PKG_INSTALL_DIR)/usr/share/alsa/init/* \
48 $(1)/usr/share/alsa/init/
49 endef
50
51 $(eval $(call BuildPackage,alsa-utils))