mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-21 17:44:31 +08:00
Compare commits
4 Commits
add_libblo
...
json-edito
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a25aebc64 | ||
|
|
bdd73442c1 | ||
|
|
c03c6aa6e7 | ||
|
|
8dbef7fadd |
35
json-editor/Makefile
Normal file
35
json-editor/Makefile
Normal 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))
|
||||||
Reference in New Issue
Block a user