summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jo')
-rw-r--r--app-text/jo/Manifest1
-rw-r--r--app-text/jo/files/jo-1.1-version.patch9
-rw-r--r--app-text/jo/jo-1.1.ebuild22
3 files changed, 32 insertions, 0 deletions
diff --git a/app-text/jo/Manifest b/app-text/jo/Manifest
index 419a3b05d568..991c61520ca7 100644
--- a/app-text/jo/Manifest
+++ b/app-text/jo/Manifest
@@ -1 +1,2 @@
DIST jo-1.0.tar.gz 30165 SHA256 1aafebbff4b1eb81dd9fa6059449d4af5399a2195db1b26d84cca348cb153900 SHA512 129f890ffe8b7d7ddc7c6bc449145afa69c87a63b0c2f5edde01125fb1e038333016d89b7229246495062074327ce5b90ce9e9ddd14517414b30a86423be41a2 WHIRLPOOL 9bd0d3969d11ba5068cbb20e16c1f2af326ca7c9b3686a6f8c89c7878268e4420a7c1ead7b93e37f7f87a2451b688d0e3131b49fe996a65c57147d4f67121c3d
+DIST jo-1.1.tar.gz 50395 SHA256 1471e257517ff8123197aa022b2e76c914fbfdbecb5fbb7be9c55a231d8a9630 SHA512 fd220acf53d554cb9e9920510dba2f4a01337b126dca89882e02ba96cdd84bf7a5e935a4c06dddb5200cd808f0609fd697e51a56161dc99b1638e33181494242 WHIRLPOOL 50c87c5fb02337490970747fead3c1a4333b7a8de6ef98ac197bfa809599bde40c48e968d8621199f5aa3fde1977b5382ed40b54fd07b0a7b5df84ffc370d67a
diff --git a/app-text/jo/files/jo-1.1-version.patch b/app-text/jo/files/jo-1.1-version.patch
new file mode 100644
index 000000000000..446df4aa9211
--- /dev/null
+++ b/app-text/jo/files/jo-1.1-version.patch
@@ -0,0 +1,9 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,5 +1,5 @@
+ AC_PREREQ([2.64])
+-AC_INIT([jo], [1.0], [jpmens@gmail.com])
++AC_INIT([jo], [1.1], [jpmens@gmail.com])
+ AC_CONFIG_AUX_DIR([build-aux])
+ AC_CONFIG_SRCDIR([jo.c])
+
diff --git a/app-text/jo/jo-1.1.ebuild b/app-text/jo/jo-1.1.ebuild
new file mode 100644
index 000000000000..704769988141
--- /dev/null
+++ b/app-text/jo/jo-1.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="JSON output from a shell"
+HOMEPAGE="https://github.com/jpmens/jo"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1-version.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}