Merge pull request #4422 from diizzyy/patch-55
[feed/packages.git] / lang / dkjson / Makefile
1 #
2 # Copyright (C) 20013-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dkjson
11 PKG_VERSION:=2.5
12 PKG_RELEASE:=3
13
14 PKG_SOURCE_URL:=https://github.com/LuaDist/dkjson.git
15 PKG_SOURCE_PROTO:=git
16 PKG_SOURCE_VERSION:=e72ba0c9f5d8b8746fc306f6189a819dbb5cd0be
17 PKG_LICENSE:=MIT
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.bz2
19 PKG_MIRROR_HASH:=e80673611e25ce63a95ea0f7a9c407868903fd78536d6c80f1763f2cf9488030
20 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/dkjson
26 SUBMENU:=Lua
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=DKJSON
30 URL:=http://dkolf.de/src/dkjson-lua.fsl/home
31 MAINTAINER:=Lars Gierth <larsg@systemli.org>
32 DEPENDS:=+lua
33 endef
34
35 define Package/dkjson/description
36 Lua JSON parser/serializer with UTF-8 support
37 endef
38
39 define Build/Configure
40 endef
41
42 define Build/Compile
43 endef
44
45 define Package/dkjson/install
46 $(INSTALL_DIR) $(1)/usr/lib/lua
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dkjson.lua $(1)/usr/lib/lua/
48 endef
49
50 $(eval $(call BuildPackage,dkjson))