jo: new package

Message ID 20170320160006.9905-1-peter@korsgaard.com
State Accepted
Headers show

Commit Message

Peter Korsgaard March 20, 2017, 4 p.m.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 DEVELOPERS           |  1 +
 package/Config.in    |  1 +
 package/jo/Config.in |  6 ++++++
 package/jo/jo.hash   |  2 ++
 package/jo/jo.mk     | 14 ++++++++++++++
 5 files changed, 24 insertions(+)
 create mode 100644 package/jo/Config.in
 create mode 100644 package/jo/jo.hash
 create mode 100644 package/jo/jo.mk

Comments

Thomas Petazzoni March 26, 2017, 10:37 a.m. | #1
Hello,

On Mon, 20 Mar 2017 17:00:06 +0100, Peter Korsgaard wrote:
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  DEVELOPERS           |  1 +
>  package/Config.in    |  1 +
>  package/jo/Config.in |  6 ++++++
>  package/jo/jo.hash   |  2 ++
>  package/jo/jo.mk     | 14 ++++++++++++++
>  5 files changed, 24 insertions(+)
>  create mode 100644 package/jo/Config.in
>  create mode 100644 package/jo/jo.hash
>  create mode 100644 package/jo/jo.mk

Applied to master, thanks.

Thomas

Patch

diff --git a/DEVELOPERS b/DEVELOPERS
index ad3089539..dd82db3a3 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1199,6 +1199,7 @@  N:	Peter Korsgaard <peter@korsgaard.com>
 F:	board/orangepi/
 F:	configs/orangepi_pc_defconfig
 F:	package/flickcurl/
+F:	package/jo/
 F:	package/libfastjson/
 F:	package/lzop/
 F:	package/memtool/
diff --git a/package/Config.in b/package/Config.in
index 9f4b55020..1e902d3d9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -141,6 +141,7 @@  menu "Development tools"
 	source "package/git-crypt/Config.in"
 	source "package/gperf/Config.in"
 	source "package/grep/Config.in"
+	source "package/jo/Config.in"
 	source "package/jq/Config.in"
 	source "package/libtool/Config.in"
 	source "package/make/Config.in"
diff --git a/package/jo/Config.in b/package/jo/Config.in
new file mode 100644
index 000000000..c5532c210
--- /dev/null
+++ b/package/jo/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_JO
+	bool "jo"
+	help
+	  Command-line processor to output JSON from a shell
+
+	  https://github.com/jpmens/jo
diff --git a/package/jo/jo.hash b/package/jo/jo.hash
new file mode 100644
index 000000000..429f1e4a9
--- /dev/null
+++ b/package/jo/jo.hash
@@ -0,0 +1,2 @@ 
+# Locally computed
+sha256	d66ec97258d1afad15643fb2d5b5e807153a732ba45c2417adc66669acbde52e  jo-1.0.tar.gz
diff --git a/package/jo/jo.mk b/package/jo/jo.mk
new file mode 100644
index 000000000..5529f552c
--- /dev/null
+++ b/package/jo/jo.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# jo
+#
+################################################################################
+
+JO_VERSION = 1.0
+JO_SITE = https://github.com/jpmens/jo/releases/download/v$(JO_VERSION)
+JO_LICENSE = MIT (json.[ch]), GPLv2+ (rest)
+JO_LICENSE_FILES = COPYING
+# don't build man pages
+JO_CONF_ENV = ac_cv_path_PANDOC=''
+
+$(eval $(autotools-package))