mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
-------------------------------------------------------------------------------
* ace6a3d Send on/offhook event to asterisk
* 41484bb Call main asterisk ubus object
-------------------------------------------------------------------------------
commit ace6a3dcb6aa463cf5a34ad39ac37a5bc7d4ce5e
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-18 10:49:27 +0100
Send on/offhook event to asterisk
Base directory -> /
src/external_call.c | 4 ++++
src/ubus.c | 25 +++++++++++++++++++++++++
src/ubus.h | 1 +
3 files changed, 30 insertions(+)
-------------------------------------------------------------------------------
commit 41484bb47ebc4fddc06583275209b1abb084bc2b
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2018-01-16 17:19:28 +0100
Call main asterisk ubus object
Base directory -> /
src/ubus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
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:=1.1.0
|
|
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=ace6a3dcb6aa463cf5a34ad39ac37a5bc7d4ce5e
|
|
PKG_NAME:=dectmngr2
|
|
|
|
|
|
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/dectmngr2
|
|
CATEGORY:=Utilities
|
|
TITLE:=Dectmngr2
|
|
URL:=
|
|
DEPENDS:= +natalie-dect-h bcmkernel +libubox +ubus
|
|
endef
|
|
|
|
define Package/dectmngr2/description
|
|
Dectmngr2
|
|
endef
|
|
|
|
|
|
define Package/dectmngr2/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_DIR) $(1)/etc/dect/
|
|
$(INSTALL_DIR) $(1)/etc/config/
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dectmngr2 $(1)/usr/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/target.bin $(1)/etc/dect/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/nvs_default $(1)/etc/dect/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dect $(1)/etc/init.d/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dectmngr-wrapper.sh $(1)/usr/sbin/
|
|
$(CP) ./files/dect.config $(1)/etc/config/dect
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,dectmngr2))
|