mksh: update to 54
[openadk.git] / package / jq / Makefile
blobe95a55f98b88121230ac1ec5cab10d75bbad8c9f
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= jq
7 PKG_VERSION:= 1.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c
10 PKG_DESCR:= command-line json processor
11 PKG_SECTION:= sys/misc
12 PKG_URL:= http://stedolan.github.io/jq/
13 PKG_SITES:= https://github.com/stedolan/jq/releases/download/jq-$(PKG_VERSION)/
15 # needs bessel functions not enabled on uClibc-ng
16 PKG_LIBC_DEPENDS:= glibc musl
18 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call PKG_template,JQ,jq,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
24 jq-install:
25 $(INSTALL_DIR) $(IDIR_JQ)/usr/bin
26 $(INSTALL_BIN) $(WRKINST)/usr/bin/jq \
27 $(IDIR_JQ)/usr/bin
29 include $(ADK_TOPDIR)/mk/pkg-bottom.mk