source: packages/utils/alsa-utils/Makefile @ 14160

Last change on this file since 14160 was 14160, checked in by lars, 8 years ago

Install alsactl.

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
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
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=alsa-utils
12PKG_VERSION:=1.0.13
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/utils/
17PKG_MD5SUM:=dfe4bb5d3217f3ec662b172ce8397cf0
18
19include $(INCLUDE_DIR)/package.mk
20
21define 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/
27endef
28
29define Build/Configure
30        $(call Build/Configure/Default, \
31                --disable-rpath \
32        )
33endef
34
35define Build/Compile
36        $(MAKE) -C $(PKG_BUILD_DIR) \
37                DESTDIR="$(PKG_INSTALL_DIR)" \
38                all install
39endef
40
41define Package/alsa-utils/install
42        $(INSTALL_DIR) $(1)/usr/{s,}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        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/alsactl $(1)/usr/sbin/
47endef
48
49$(eval $(call BuildPackage,alsa-utils))
Note: See TracBrowser for help on using the repository browser.