[Lunar-commits] <moonbase-other> jshon: Added new module
Peter de Ridder
peter at lunar-linux.org
Mon Nov 4 22:54:42 CET 2013
commit 7b8bfa2c79c8f1f6f5a30a11e20577961585ea8d
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 03 Nov 2013 06:47:26 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/7b8bfa2c79c8f1f6f5a30a11e20577961585ea8d
jshon: Added new module
---
utils/jshon/BUILD | +4/-0
utils/jshon/DEPENDS | +1/-0
utils/jshon/DETAILS | +23/-0
3 files changed, 28 insertions(+)
--- /dev/null
+++ b/utils/jshon/BUILD
@@ -0,0 +1,4 @@
+make &&
+prepare_install &&
+install -Dm755 jshon /usr/bin/jshon &&
+install -Dm644 jshon.1 /usr/share/man/man1/jshon.1
--- /dev/null
+++ b/utils/jshon/DEPENDS
@@ -0,0 +1 @@
+depends jansson
--- /dev/null
+++ b/utils/jshon/DETAILS
@@ -0,0 +1,23 @@
+ MODULE=jshon
+ VERSION=20130815
+ SOURCE=${MODULE}-${VERSION}.tar.gz
+ SOURCE_URL=http://kmkeen.com/jshon/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+ SOURCE_VFY=sha1:ef9524f7b4632682d821067c445120eba5c744ef
+ WEB_SITE="http://kmkeen.com/jshon/"
+ ENTERED=20131103
+ UPDATED=20131103
+ SHORT="parse, read and create JSON"
+cat <<EOF
+Jshon parses, reads and creates JSON. It is designed to be as usable
+as possible from within the shell and replaces fragile adhoc parsers
+made from grep/sed/awk as well as heavyweight one-line parsers made
+from perl/python.
+
+Jshon loads json text from stdin, performs actions, then displays
+the last action on stdout. Some of the options output json, others
+output plain text meta information. Because Bash has very poor
+nested datastructures, Jshon does not try to return a native bash
+datastructure as a tpical library would. Instead, Jshon provides a
+history stack containing all the manipulations.
+EOF
More information about the Lunar-commits
mailing list