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.

47 lines
1008 B

  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:=4
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/LuaDist/dkjson/tar.gz/$(PKG_VERSION)?
  13. PKG_HASH:=8560ee3c7ed421b293bf0905017bc90bd2f282d56517aa59ec6c53f5fb4057bd
  14. PKG_LICENSE:=MIT
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/dkjson
  17. SUBMENU:=Lua
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. TITLE:=DKJSON
  21. URL:=http://dkolf.de/src/dkjson-lua.fsl/home
  22. MAINTAINER:=Lars Gierth <larsg@systemli.org>
  23. DEPENDS:=+lua
  24. endef
  25. define Package/dkjson/description
  26. Lua JSON parser/serializer with UTF-8 support
  27. endef
  28. define Build/Configure
  29. endef
  30. define Build/Compile
  31. endef
  32. define Package/dkjson/install
  33. $(INSTALL_DIR) $(1)/usr/lib/lua
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/dkjson.lua $(1)/usr/lib/lua/
  35. endef
  36. $(eval $(call BuildPackage,dkjson))