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
997 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:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://dkolf.de/src/dkjson-lua.fsl/tarball/
  13. PKG_BUILD_DIR:=$(PKG_NAME)-$(PKG_VERSION)
  14. PKG_MD5SUM:=dbe706722dd64308172cf8e37395e762
  15. PKG_LICENSE:=MIT
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/dkjson
  18. SUBMENU:=Lua
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. TITLE:=DKJSON
  22. URL:=http://dkolf.de/src/dkjson-lua.fsl/home
  23. MAINTAINER:=Lars Gierth <larsg@systemli.org>
  24. DEPENDS:=+lua
  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))