From patchwork Thu Sep 26 01:09:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danomi Manchego X-Patchwork-Id: 278053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 18CBA2C032D for ; Thu, 26 Sep 2013 11:10:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C35EB8B15E; Thu, 26 Sep 2013 01:10:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BrJlq5XQ77SS; Thu, 26 Sep 2013 01:10:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 32C4C8B154; Thu, 26 Sep 2013 01:10:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A95C41BFA77 for ; Thu, 26 Sep 2013 01:10:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A1B168B263 for ; Thu, 26 Sep 2013 01:10:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GkI1Fk4sdDk6 for ; Thu, 26 Sep 2013 01:10:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by whitealder.osuosl.org (Postfix) with ESMTP id CD9CB8B1A2 for ; Thu, 26 Sep 2013 01:10:03 +0000 (UTC) Received: from omta24.westchester.pa.mail.comcast.net ([76.96.62.76]) by QMTA11.westchester.pa.mail.comcast.net with comcast id VcxV1m0061ei1Bg5BdA3yr; Thu, 26 Sep 2013 01:10:03 +0000 Received: from localhost.localdomain ([68.37.48.40]) by omta24.westchester.pa.mail.comcast.net with comcast id Vd9y1m0010s1VyU3kdA2XK; Thu, 26 Sep 2013 01:10:03 +0000 From: Danomi Manchego To: buildroot@busybox.net Date: Wed, 25 Sep 2013 21:09:55 -0400 Message-Id: <1380157795-1854-1-git-send-email-danomimanchego123@gmail.com> X-Mailer: git-send-email 1.7.9.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1380157803; bh=M83E7Q+GGJTQkhjxC3ehgvAH0iIFYO6qakSsULr4PiA=; h=Received:Received:From:To:Subject:Date:Message-Id; b=Am79LI9ayKSm5r5kRIs8P8HSQYuLoYivsFojnIu1DmgqosDvL01j32p34enzt43sO a155UxdM5Thg/bsOaUG7ob4aYf4b5Asrsvdom00WrnTmd1gGeUliavj4xrLY4kooSW GyDiiQct6NUk6DTH8tTz6XXQMAQWkXfRlYj4yprYVputrnj73LiQ6G6gx7VG1TOgsq CQXloD3fZUTgwvfu8zxvUG6xelC8Ow82YQ7D2nX5Z7qeK7/ZY1vnVde6EpJlexu958 byHT7rjtTyK94mj1jDP6F3opBmBAeQsSgsSOppiET725CxP4s8lvFhzFQ0td77sTP4 1G7BR4fbxQXDg== Subject: [Buildroot] [PATCH v2] jq: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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. Signed-off-by: Danomi Manchego --- The package description is as per the author - not my words. v1 -> v2: changed SITE to be more like the github example in the buildroot user manual. --- package/Config.in | 1 + package/jq/Config.in | 8 ++++++++ package/jq/jq.mk | 13 +++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/jq/Config.in create mode 100644 package/jq/jq.mk diff --git a/package/Config.in b/package/Config.in index 1dd60d1..ce18ec7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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/make/Config.in" source "package/libtool/Config.in" source "package/m4/Config.in" diff --git a/package/jq/Config.in b/package/jq/Config.in new file mode 100644 index 0000000..9329b2f --- /dev/null +++ b/package/jq/Config.in @@ -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/ diff --git a/package/jq/jq.mk b/package/jq/jq.mk new file mode 100644 index 0000000..59cea9c --- /dev/null +++ b/package/jq/jq.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# jq +# +################################################################################ + +JQ_VERSION = 1.3 +JQ_SITE = http://github.com/stedolan/jq/tarball/jq-$(JQ_VERSION) +JQ_AUTORECONF = YES +JQ_LICENSE = jq license +JQ_LICENSE_FILES = COPYING + +$(eval $(autotools-package))