source: packages/sound/listener/Makefile @ 28592

Last change on this file since 28592 was 28592, checked in by nico, 5 years ago

packages: add listener (thanks to Raphaël Huck)

File size: 1.1 KB
Line 
1#
2# Copyright (C) 2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=listener
11PKG_VERSION:=1.7.2
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15PKG_SOURCE_URL:=http://www.vanheusden.com/listener/
16PKG_MD5SUM:=8ad9c24c45c7d28aed606304a2bf80bf
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/listener
21  SECTION:=sound
22  CATEGORY:=Sound
23  DEPENDS:=+libncurses +libsndfile
24  TITLE:=Listener automatically records when sound is detected
25  URL:=http://www.vanheusden.com/listener/
26endef
27
28define Package/listener/description
29  This program listens for sound. If it detects any, it starts recording
30  automatically and also automatically stops when things become silent
31  again.
32endef
33
34define Package/listener/install
35        $(INSTALL_DIR) $(1)/usr/bin
36        $(INSTALL_BIN) $(PKG_BUILD_DIR)/{listener,listenersoundpipe,setlistener} $(1)/usr/bin/
37        $(INSTALL_DIR) $(1)/etc
38        $(INSTALL_CONF) $(PKG_BUILD_DIR)/listener.conf $(1)/etc/
39endef
40
41$(eval $(call BuildPackage,listener))
Note: See TracBrowser for help on using the repository browser.