From 5d6fb02fed0e9a6d803f6b22be5b8b1a895069be Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Tue, 23 Oct 2012 20:33:52 +0000 Subject: Initial import, ebuild by me. (Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) --- app-misc/jq/ChangeLog | 10 ++++++++++ app-misc/jq/Manifest | 5 +++++ app-misc/jq/files/jq-1.1-makefile.patch | 22 ++++++++++++++++++++++ app-misc/jq/jq-1.1.ebuild | 28 ++++++++++++++++++++++++++++ app-misc/jq/metadata.xml | 8 ++++++++ 5 files changed, 73 insertions(+) create mode 100644 app-misc/jq/ChangeLog create mode 100644 app-misc/jq/Manifest create mode 100644 app-misc/jq/files/jq-1.1-makefile.patch create mode 100644 app-misc/jq/jq-1.1.ebuild create mode 100644 app-misc/jq/metadata.xml (limited to 'app-misc/jq') diff --git a/app-misc/jq/ChangeLog b/app-misc/jq/ChangeLog new file mode 100644 index 000000000000..da0de65ec410 --- /dev/null +++ b/app-misc/jq/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/jq +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jq/ChangeLog,v 1.1 2012/10/23 20:33:52 radhermit Exp $ + +*jq-1.1 (23 Oct 2012) + + 23 Oct 2012; Tim Harder +jq-1.1.ebuild, + +files/jq-1.1-makefile.patch, +metadata.xml: + Initial import, ebuild by me. + diff --git a/app-misc/jq/Manifest b/app-misc/jq/Manifest new file mode 100644 index 000000000000..ab6de2856645 --- /dev/null +++ b/app-misc/jq/Manifest @@ -0,0 +1,5 @@ +AUX jq-1.1-makefile.patch 739 SHA256 5ec7dd0307c4a700d8e5403107dbf816df98de73d1eaec4a5bb17454cbb9c229 SHA512 048a9363b4f560862946b7f8b6855d4b97e604681da721f5028ce9d5fb962ff292dc4a36128885b54df0fcf490aef85f807860323fa8f7c07a265b04ad88172c WHIRLPOOL eee0923162240b62e886678bbd78fb8daa69693d6de1b7bb301f2a21571bf17ece7dc3d610371120175db3052ea09720ccd4fbf5f17f0f0581ce7e8d16a726d7 +DIST jq-1.1.tar.gz 432144 SHA256 0e53d2753e40705a684f499789920f2cebfa7adfbec03a270519c25a5fc03f60 SHA512 378eb091fc1a840ba30b496f6f470438133b047a7eb02a4dd6e4563273c152f2f2893ee91a4c87e0267fda2c6ed05e872dac45b6db262c9daedda1bc232d3b2e WHIRLPOOL 4cd56c62de186245231dec021e45c378d67d6e7919dce1e2c894b893cb7ade0d89c8e95a964eafa999436d54cc772c5914b5a480a6fef31b96910eeec1d2bb2e +EBUILD jq-1.1.ebuild 593 SHA256 5db4ad213f656efecfdc61bb25b63eeb72d75395af79d6f584b7d2bc08d4b8c3 SHA512 dd0fb88212ad5a129bd8a9c8488db4f86d2f8d01f8e08da045885aebfdb381ccc9dd6819e80dbacd90f32d1e8ca48469209b9969bdf2286618aeb00b3e9a7b0c WHIRLPOOL 88a2cf133d8930e0c771c9254971b81a542008384eb6140db1dfed4495604b5d94ac7c9e2da65e205f05c1ffa6124ee070d67944454aa7acef9e1386569b321b +MISC ChangeLog 280 SHA256 f5260cde19f733248c60e5e8929742a7d55743e96dc5bb0c2cb28693e4e2223e SHA512 7268d522ca57d9dfc6733ae3f59c9adbff8c372f09f8d734beef6a02f1fcd9a57e7b1d45cefae97a2268ad6a1739b9f510fd8e7533aa2a97a40dad5d179a3d61 WHIRLPOOL 1fdeade1eaeba1aee0754a4f09d0a3a6e5ec8edd5937d56ac0b9b48216504aaf6afc1d3e8f28558f094bb67aa4007b198c0f2ce289f8d2ed0f74f5f66f81770c +MISC metadata.xml 236 SHA256 5285fd5ca6bc85e0392ff64ec8e54d0018ebd761d3977869c00c93dee45ea09d SHA512 a1abf9a60fb1a2078d0475df655f8abd4b2f877f8d232028232fafca2eb7e7ae6ec2c835c4fe0ef27b3b5655d746d1fe53bbcb353703819448ddec84acdd4215 WHIRLPOOL fdbf5fcd34aa17330575f013aef4c87a8b039b62b6de3337a4004a6a0217238ceca43fa15425c30ddb7a5a632de7eb138ed541dfb161614cba817527297781e2 diff --git a/app-misc/jq/files/jq-1.1-makefile.patch b/app-misc/jq/files/jq-1.1-makefile.patch new file mode 100644 index 000000000000..d492cd0d372c --- /dev/null +++ b/app-misc/jq/files/jq-1.1-makefile.patch @@ -0,0 +1,22 @@ +--- stedolan-jq-bf61e95/Makefile ++++ stedolan-jq-bf61e95/Makefile +@@ -1,4 +1,5 @@ +-CC=gcc -Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function ++CC?=gcc ++CFLAGS+=-Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -Wno-unused-function + prefix=/usr/local + + .PHONY: all clean releasedep tarball install uninstall test releasetag +@@ -30,10 +31,10 @@ + + + jq_test: $(JQ_SRC) jq_test.c +- $(CC) -DJQ_DEBUG=1 -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -DJQ_DEBUG=1 -o $@ $^ + + jq: $(JQ_SRC) main.c +- $(CC) -O -DJQ_DEBUG=0 -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -DJQ_DEBUG=0 -o $@ $^ + + test: jq_test + valgrind --error-exitcode=1 -q --leak-check=full ./jq_test >/dev/null diff --git a/app-misc/jq/jq-1.1.ebuild b/app-misc/jq/jq-1.1.ebuild new file mode 100644 index 000000000000..3f0b02faa349 --- /dev/null +++ b/app-misc/jq/jq-1.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jq/jq-1.1.ebuild,v 1.1 2012/10/23 20:33:52 radhermit Exp $ + +EAPI=5 + +inherit vcs-snapshot toolchain-funcs eutils + +DESCRIPTION="A lightweight and flexible command-line JSON processor" +HOMEPAGE="http://stedolan.github.com/jq/" +SRC_URI="https://github.com/stedolan/jq/tarball/${P} -> ${P}.tar.gz" + +LICENSE="MIT CCPL-Attribution-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="test? ( dev-util/valgrind )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + tc-export CC +} + +src_install() { + dobin jq + dodoc README.md +} diff --git a/app-misc/jq/metadata.xml b/app-misc/jq/metadata.xml new file mode 100644 index 000000000000..efa5eb0078f3 --- /dev/null +++ b/app-misc/jq/metadata.xml @@ -0,0 +1,8 @@ + + + + + radhermit@gentoo.org + Tim Harder + + -- cgit v1.2.3-65-gdbad