This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

8
package/jq/Config.in Normal file
View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_JQ
bool "jq"
help
jq is like sed for JSON data - you can use it to slice and
filter and map and transform structured data with the same
ease that sed, awk, grep and friends let you play with text.
http://stedolan.github.io/jq/

11
package/jq/Config.in.host Normal file
View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_HOST_JQ
bool "host jq"
help
jq is like sed for JSON data - you can use it to slice and
filter and map and transform structured data with the same
ease that sed, awk, grep and friends let you play with text.
As a host tool, jq can be useful to create/edit/merge/check
JSON files from a post-build script.
http://stedolan.github.io/jq/

3
package/jq/jq.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72 jq-1.6.tar.gz
sha256 111136aebcbfa68b6b0084e582b30e981da76adcff84eab6f9be32a1f38c5bf1 COPYING

31
package/jq/jq.mk Normal file
View File

@@ -0,0 +1,31 @@
################################################################################
#
# jq
#
################################################################################
JQ_VERSION = 1.6
JQ_SITE = https://github.com/stedolan/jq/releases/download/jq-$(JQ_VERSION)
JQ_LICENSE = MIT (code), CC-BY-3.0 (documentation)
JQ_LICENSE_FILES = COPYING
JQ_INSTALL_STAGING = YES
# uses c99 specific features
# _GNU_SOURCE added to fix gcc6+ host compilation
# (https://github.com/stedolan/jq/issues/1598)
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99 -D_GNU_SOURCE"
HOST_JQ_CONF_ENV += CFLAGS="$(HOST_CFLAGS) -std=c99 -D_GNU_SOURCE"
# jq explicitly enables maintainer mode, which we don't need/want
JQ_CONF_OPTS += --disable-maintainer-mode
HOST_JQ_CONF_OPTS += --disable-maintainer-mode --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))