632fbed88d
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: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
18 lines
501 B
Makefile
18 lines
501 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|