kumquat-buildroot/package/jq/jq.mk
Fabrice Fontaine 3026934aa0 package/jq: bump to version 1.7
- Update site to get latest release
- Drop autoreconf as official tarball is now used
- _GNU_SOURCE is correctly set since
  52d5988afb
- maintainer mode is disabled by default since
  54fef09ac3
- Update hash of COPYING (BSD-2-Clause for Windows build using jv thread
  added by
  34182cca7b,
  mispelling fixed by
  5cebe86a7b)

https://github.com/jqlang/jq/releases/tag/jq-1.7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-11-06 20:37:17 +01:00

29 lines
796 B
Makefile

################################################################################
#
# jq
#
################################################################################
JQ_VERSION = 1.7
JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation)
JQ_LICENSE_FILES = COPYING
JQ_CPE_ID_VENDOR = jq_project
JQ_INSTALL_STAGING = YES
# uses c99 specific features
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
HOST_JQ_CONF_ENV += CFLAGS="$(HOST_CFLAGS) -std=c99"
HOST_JQ_CONF_OPTS += --without-oniguruma
ifeq ($(BR2_PACKAGE_ONIGURUMA),y)
JQ_DEPENDENCIES += oniguruma
JQ_CONF_OPTS += --with-oniguruma
else
JQ_CONF_OPTS += --without-oniguruma
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))