1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/dkjson
  20. SUBMENU:=Lua
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=DKJSON
  24. URL:=http://dkolf.de/src/dkjson-lua.fsl/home
  25. MAINTAINER:=Lars Gierth <larsg@systemli.org>
  26. DEPENDS:=+lua
  27. endef
  28. define Package/dkjson/description
  29. Lua JSON parser/serializer with UTF-8 support
  30. endef
  31. define Build/Configure
  32. endef
  33. define Build/Compile
  34. endef
  35. define Package/dkjson/install
  36. $(INSTALL_DIR) $(1)/usr/lib/lua
  37. $(INSTALL_BIN) $(PKG_BUILD_DIR)/dkjson.lua $(1)/usr/lib/lua/
  38. endef
  39. $(eval $(call BuildPackage,dkjson))