-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (30 loc) · 1.04 KB
/
Copy pathMakefile
File metadata and controls
37 lines (30 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
include $(TOPDIR)/rules.mk
PKG_NAME:=grapheqd
PKG_VERSION:=8
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/grapheqd-${PKG_VERSION}
PKG_SOURCE:=grapheqd-8.tar.bz2
PKG_SOURCE_URL:=https://ogris.de/grapheqd/
PKG_HASH:=34ef4056fb07f5eed5bfc3cce0a56d2bffc4773e4147d7decc7a095fc440c371
PKG_BUILD_DEPENDS:=alsa-lib openssl
include $(INCLUDE_DIR)/package.mk
define Package/grapheqd
SECTION:=sound
CATEGORY:=Multimedia
TITLE:=Graphical equalizer daemon
URL:=https://ogris.de/grapheqd/
DEPENDS:=+alsa-lib +libopenssl
endef
define Package/grapheqd/description
grapheqd displays the frequency spectrum of an audio signal via its
HTML5 webpage or ASCII based telnet interface.
endef
define Package/grapheqd/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/hotplug.d/usb
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/grapheqd $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/openwrt/99-grapheqd $(1)/etc/hotplug.d/usb/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/openwrt/grapheqd $(1)/etc/init.d/
endef
$(eval $(call BuildPackage,grapheqd))