You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=dkjson
  9. PKG_VERSION:=2.5
  10. PKG_RELEASE:=3
  11. PKG_SOURCE_URL:=https://github.com/LuaDist/dkjson.git
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_VERSION:=e72ba0c9f5d8b8746fc306f6189a819dbb5cd0be
  14. PKG_LICENSE:=MIT
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.bz2
  16. PKG_MIRROR_HASH:=e80673611e25ce63a95ea0f7a9c407868903fd78536d6c80f1763f2cf9488030
  17. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/dkjson
  21. SUBMENU:=Lua
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=DKJSON
  25. URL:=http://dkolf.de/src/dkjson-lua.fsl/home
  26. MAINTAINER:=Lars Gierth <larsg@systemli.org>
  27. DEPENDS:=+lua
  28. endef
  29. define Package/dkjson/description
  30. Lua JSON parser/serializer with UTF-8 support
  31. endef
  32. define Build/Configure
  33. endef
  34. define Build/Compile
  35. endef
  36. define Package/dkjson/install
  37. $(INSTALL_DIR) $(1)/usr/lib/lua
  38. $(INSTALL_BIN) $(PKG_BUILD_DIR)/dkjson.lua $(1)/usr/lib/lua/
  39. endef
  40. $(eval $(call BuildPackage,dkjson))