Compare commits

...

4 Commits

Author SHA1 Message Date
Suru Dissanaike
7a25aebc64 json-editor: update pkg to include warning fixes 2019-10-18 08:56:50 +02:00
Jakob Olsson
bdd73442c1 json-editor: update pkg to include header change 2019-10-03 15:23:22 +02:00
Jakob Olsson
c03c6aa6e7 json-editor: update pkg, utilize cmake 2019-10-03 15:18:15 +02:00
Jakob Olsson
8dbef7fadd json-editor: add pkg makefile 2019-10-03 14:40:20 +02:00

35
json-editor/Makefile Normal file
View File

@@ -0,0 +1,35 @@
#
# Copyright (C) 2008-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_NAME:=json-editor
PKG_RELEASE:=1.0.0
PKG_SOURCE_VERSION:=44b32937a062ec4ffc9f7355841dc94ab6efa50f
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/json-editor.git
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/json-editor
SECTION:=base
CATEGORY:=Libraries
DEPENDS:=+libjson-c +libblobmsg_json
TITLE:=JSON-editor
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_BUILD_DIR)/src/json-editor.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libjson-editor.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,json-editor))