allow dund to grab ppp options gathered from the network scripts
[openwrt/svn-archive/archive.git] / utils / alsa-utils / Makefile
1 #
2 # Copyright (C) 2006 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.13
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:=dfe4bb5d3217f3ec662b172ce8397cf0
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/alsa-utils
22 SECTION:=utils
23 CATEGORY:=Utilities
24 DEPENDS:=+alsa-lib +libncurses +libpthread
25 TITLE:=ALSA (Advanced Linux Sound Architecture) utilities
26 URL:=http://www.alsa-project.org/
27 endef
28
29 define Build/Configure
30 $(call Build/Configure/Default, \
31 --disable-rpath \
32 )
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 DESTDIR="$(PKG_INSTALL_DIR)" \
38 all install
39 endef
40
41 define Package/alsa-utils/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amixer $(1)/usr/bin/
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alsamixer $(1)/usr/bin/
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aplay $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,alsa-utils))