Commit 632fbed8 authored by Danomi Manchego's avatar Danomi Manchego Committed by Peter Korsgaard
Browse files

jq: new package



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.

[Peter: fix license, add flex/bison deps, force c99]
Signed-off-by: default avatarDanomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 5a4a11a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/grep/Config.in"
endif
source "package/intltool/Config.in"
source "package/jq/Config.in"
source "package/libtool/Config.in"
source "package/m4/Config.in"
source "package/make/Config.in"

package/jq/Config.in

0 → 100644
+8 −0
Original line number Diff line number Diff line
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/

package/jq/jq.mk

0 → 100644
+17 −0
Original line number Diff line number Diff line
################################################################################
#
# jq
#
################################################################################

JQ_VERSION = jq-1.3
JQ_SITE = http://github.com/stedolan/jq/tarball/$(JQ_VERSION)
JQ_AUTORECONF = YES
JQ_DEPENDENCIES = host-flex host-bison
JQ_LICENSE = MIT (code), CC-BY-3.0 (documentation)
JQ_LICENSE_FILES = COPYING

# uses c99 specific features
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"

$(eval $(autotools-package))