Initial Commit
- initial default booting image
This commit is contained in:
12
package/jq/Config.in
Normal file
12
package/jq/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_JQ
|
||||
bool "jq"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
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.
|
||||
|
||||
https://jqlang.github.io/jq/
|
||||
|
||||
comment "jq needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
11
package/jq/Config.in.host
Normal file
11
package/jq/Config.in.host
Normal 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
3
package/jq/jq.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 71b8d6e8f5fe81f6c6d0d110e3892251f6ce76ed095abd315e26e6e1193af3af jq-1.8.2.tar.gz
|
||||
sha256 ad2b4a266b2268939c1446979759706077421cf906a203aa188c6f396e8cfd74 COPYING
|
||||
29
package/jq/jq.mk
Normal file
29
package/jq/jq.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# jq
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JQ_VERSION = 1.8.2
|
||||
JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
|
||||
JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation), \
|
||||
BSD-2-Clause (strptime)
|
||||
JQ_LICENSE_FILES = COPYING
|
||||
JQ_CPE_ID_VENDOR = jqlang
|
||||
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))
|
||||
Reference in New Issue
Block a user