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.

48 lines
1022 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. PKGARCH:=all
  25. endef
  26. define Package/dkjson/description
  27. Lua JSON parser/serializer with UTF-8 support
  28. endef
  29. define Build/Configure
  30. endef
  31. define Build/Compile
  32. endef
  33. define Package/dkjson/install
  34. $(INSTALL_DIR) $(1)/usr/lib/lua
  35. $(INSTALL_BIN) $(PKG_BUILD_DIR)/dkjson.lua $(1)/usr/lib/lua/
  36. endef
  37. $(eval $(call BuildPackage,dkjson))