3026934aa0
- Update site to get latest release - Drop autoreconf as official tarball is now used - _GNU_SOURCE is correctly set since52d5988afb
- maintainer mode is disabled by default since54fef09ac3
- Update hash of COPYING (BSD-2-Clause for Windows build using jv thread added by34182cca7b
, mispelling fixed by5cebe86a7b
) 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>
29 lines
796 B
Makefile
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))
|