mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
-------------------------------------------------------------------------------
* 8178249 Generating offhook and onhook events on ubus path asterisk.endpoint.
-------------------------------------------------------------------------------
commit 8178249f6a40d8a11023e9c9581dd8dbd05364de
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2018-02-13 11:00:31 +0100
Generating offhook and onhook events on ubus path asterisk.endpoint.
Ref: 14123
Base directory -> /
src/endpt.c | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
-------------------------------------------------------------------------------
44 lines
988 B
Makefile
44 lines
988 B
Makefile
#
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_RELEASE:=1
|
|
PKG_VERSION:=0.1
|
|
PKG_SOURCE_URL:=git@private.inteno.se:endptmngr
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=8178249f6a40d8a11023e9c9581dd8dbd05364de
|
|
PKG_NAME:=endptmngr
|
|
|
|
RSTRIP:=true
|
|
export BUILD_DIR
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/endptmngr
|
|
CATEGORY:=Utilities
|
|
TITLE:=Brcmslic
|
|
URL:=
|
|
DEPENDS:= +libubox +ubus +libpicoevent
|
|
endef
|
|
|
|
define Package/endptmngr/description
|
|
endptmngr
|
|
endef
|
|
|
|
define Package/endptmngr/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
cp $(PKG_BUILD_DIR)/files/etc/init.d/* $(1)/etc/init.d/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/endptmngr $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,endptmngr))
|