OpenSync

出自 flip the world
於 2019年2月28日 (四) 15:00 由 Tommy (對話 | 貢獻) 所做的修訂 (已建立頁面,內容為 "== ESPlorer == == Yocto == == OpenWrt == <pre> # # Copyright (C) 2019 Tommy C. Liu # # This is free software, licensed under the GNU General Public License v2. #…")
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋

ESPlorer

Yocto

OpenWrt

#
# Copyright (C) 2019 Tommy C. Liu
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=opensync
PKG_VERSION:=master
PKG_RELEASE:=1
PKG_MAINTAINER:=Tommy C. Liu <tommy.using@gmail.com>

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=docs/LICENSE

PKG_USE_MIPS16:=0
#PKG_AUTOMAKE_PATHS:=src

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/plume-design/opensync
PKG_SOURCE_VERSION:=e368be0df2763895ed7877ae9e802c40fd38af40
PKG_MIRROR_HASH:=2036cedd366c9f38583986d27b1aabb49a0e120641cc9e9023c83e4ac5dae5ed

include $(INCLUDE_DIR)/package.mk
#CONFIGURE_PATH:=src
#MAKE_PATH:=src

define Package/opensync
  SECTION:=net
  CATEGORY:=Network
  SUBMENU:=wireless
  TITLE:=Cloud-agnostic software for the delivery, curation, and management of services for the modern home.
  URL:=https://github.com/plume-design/opensync
  DEPENDS:=+jansson +libev +libprotobuf-c +libopenssl +libmosquitto +zlib
  CFLAGS="$(TARGET_CFLAGS) -Wall"
endef

define Package/opensync/description
It acts as a silicon, CPE, and cloud-agnostic connection between in-home hardware devices and the cloud. It provides modern utilities for collecting measurements and statistics from devices, controlling and managing devices, and provides capabilities for specific services including Wi-Fi meshing, access control, cyber security, parental controls, and IoT onboarding and telemetry.
endef

define Build/Compile
        $(call Build/Compile/Default)
endef

define Package/opensync/install
	$(INSTALL_DIR) $(1)/usr/sbin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/work/native/bin/* $(1)/usr/sbin/
endef

$(eval $(call BuildPackage,opensync))