[Lunar-commits] <moonbase-other> Merge branch 'jshon'
v4hn
me at v4hn.de
Mon Nov 4 22:54:42 CET 2013
commit f395738a985754be55c2338a9328afb09fddb616
Author: v4hn <me at v4hn.de>
Date: Mon, 04 Nov 2013 13:54:35 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/f395738a985754be55c2338a9328afb09fddb616
Merge branch 'jshon'
---
libs/jansson/DETAILS | +19/-0
utils/jshon/BUILD | +4/-0
utils/jshon/DEPENDS | +1/-0
utils/jshon/DETAILS | +23/-0
4 files changed, 47 insertions(+)
--- /dev/null
+++ b/libs/jansson/DETAILS
@@ -0,0 +1,19 @@
+ MODULE=jansson
+ VERSION=2.5
+ SOURCE=${MODULE}-${VERSION}.tar.bz2
+ SOURCE_URL=http://www.digip.org/jansson/releases/
+ SOURCE_VFY=sha1:144e31826b7ab9a648511759c43b23db5865f4db
+ WEB_SITE="http://www.digip.org/jansson/"
+ ENTERED=20131103
+ UPDATED=20131103
+ SHORT="C library for encoding, decoding and manipulating JSON data"
+cat <<EOF
+Jansson is a C library for encoding, decoding and manipulating JSON
+data. It features:
+
+- Simple and intuitive API and data model
+- Comprehensive documentation
+- No dependencies on other libraries
+- Full Unicode support (UTF-8)
+- Extensive test suite
+EOF
--- /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