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.

46 lines
955 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:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://dkolf.de/src/dkjson-lua.fsl/tarball/
  13. PKG_MD5SUM:=af6b5f3df681e208f1dfb1a724a87e7c
  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))