2013-09-26 03:09:55 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jq
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-16 01:46:50 +02:00
|
|
|
JQ_VERSION = 1.5
|
|
|
|
JQ_SITE = https://github.com/stedolan/jq/releases/download/jq-$(JQ_VERSION)
|
2013-09-26 03:09:55 +02:00
|
|
|
JQ_LICENSE = MIT (code), CC-BY-3.0 (documentation)
|
|
|
|
JQ_LICENSE_FILES = COPYING
|
2017-08-11 18:00:48 +02:00
|
|
|
JQ_INSTALL_STAGING = YES
|
2013-09-26 03:09:55 +02:00
|
|
|
|
|
|
|
# uses c99 specific features
|
|
|
|
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
2015-10-19 12:42:09 +02:00
|
|
|
HOST_JQ_CONF_ENV += CFLAGS="$(HOST_CFLAGS) -std=c99"
|
2013-09-26 03:09:55 +02:00
|
|
|
|
2015-10-19 12:42:08 +02:00
|
|
|
# jq explicitly enables maintainer mode, which we don't need/want
|
|
|
|
JQ_CONF_OPTS += --disable-maintainer-mode
|
2015-10-19 12:42:09 +02:00
|
|
|
HOST_JQ_CONF_OPTS += --disable-maintainer-mode
|
2015-10-19 12:42:08 +02:00
|
|
|
|
2013-09-26 03:09:55 +02:00
|
|
|
$(eval $(autotools-package))
|
2015-10-19 12:42:09 +02:00
|
|
|
$(eval $(host-autotools-package))
|