From 9c37a78aae25088af887afa0d2c506d104fb4fd7 Mon Sep 17 00:00:00 2001 From: Lars Gierth Date: Mon, 1 Sep 2014 00:09:51 +0200 Subject: [PATCH] dkjson: import from https://github.com/SeattleMeshnet/meshbox.git Signed-off-by: Lars Gierth --- lang/dkjson/Makefile | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lang/dkjson/Makefile diff --git a/lang/dkjson/Makefile b/lang/dkjson/Makefile new file mode 100644 index 000000000..e1f7ed744 --- /dev/null +++ b/lang/dkjson/Makefile @@ -0,0 +1,47 @@ +# +# Copyright (C) 20013-2014 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:=dkjson +PKG_VERSION:=2.5 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://dkolf.de/src/dkjson-lua.fsl/tarball/ +# TODO: md5sum doesn't seem be taken into account +PKG_MD5SUM:=dbe706722dd64308172cf8e37395e762 +PKG_LICENSE:=MIT + +include $(INCLUDE_DIR)/package.mk + +define Package/dkjson + SUBMENU:=Lua + SECTION:=lang + CATEGORY:=Languages + TITLE:=DKJSON + URL:=http://dkolf.de/src/dkjson-lua.fsl/home + MAINTAINER:=Lars Gierth + DEPENDS:=+lua +endef + +define Package/dkjson/description + Lua JSON parser/serializer with UTF-8 support +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/dkjson/install + $(INSTALL_DIR) $(1)/usr/lib/lua + $(INSTALL_BIN) $(BUILD_DIR)/dkjson/dkjson.lua $(1)/usr/lib/lua/ +endef + +$(eval $(call BuildPackage,dkjson))