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.

40 lines
933 B

  1. #
  2. # Copyright (C) 2017 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:=jq
  9. PKG_VERSION:=1.5
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=BSD
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://github.com/stedolan/jq/releases/download/jq-$(PKG_VERSION)/
  14. PKG_MD5SUM:=0933532b086bd8b6a41c1b162b1731f9
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/jq
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. TITLE:=Lightweight and flexible command-line JSON processor.
  21. URL:=https://stedolan.github.io/jq/
  22. MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
  23. endef
  24. define Package/jq/description
  25. Lightweight and flexible command-line JSON processor.
  26. endef
  27. define Package/jq/install
  28. $(INSTALL_DIR) $(1)/usr/bin
  29. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  30. endef
  31. $(eval $(call BuildPackage,jq))