[Lunar-commits] <moonbase> qjson: Adding to moonbase.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Jun 24 16:48:56 CEST 2010


commit e986255bc33ed1a555e5ec91ee4fbb30469cded6
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Jun 24 10:48:56 2010 -0400

    qjson: Adding to moonbase.
---
 qt4-apps/qjson/BUILD     |   16 ++++++++++++++++
 qt4-apps/qjson/DEPENDS   |    2 ++
 qt4-apps/qjson/DETAILS   |   20 ++++++++++++++++++++
 qt4-apps/qjson/PRE_BUILD |    3 +++
 4 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/qt4-apps/qjson/BUILD b/qt4-apps/qjson/BUILD
new file mode 100644
index 0000000..0a4f73d
--- /dev/null
+++ b/qt4-apps/qjson/BUILD
@@ -0,0 +1,16 @@
+(
+
+  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+
+  source /etc/profile.d/qt4.rc   &&
+
+  mkdir $OOTB_DIR  &&
+  cd $OOTB_DIR     &&
+
+  cmake $SOURCE_DIRECTORY/$MODULE -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+                                  -DCMAKE_BUILD_TYPE=RELEASE             \
+                                  $OPTS                                 &&
+
+  default_make
+
+) > $C_FIFO 2>&1
diff --git a/qt4-apps/qjson/DEPENDS b/qt4-apps/qjson/DEPENDS
new file mode 100644
index 0000000..a67e7a8
--- /dev/null
+++ b/qt4-apps/qjson/DEPENDS
@@ -0,0 +1,2 @@
+depends cmake
+depends qt4
diff --git a/qt4-apps/qjson/DETAILS b/qt4-apps/qjson/DETAILS
new file mode 100644
index 0000000..e6ccc36
--- /dev/null
+++ b/qt4-apps/qjson/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=qjson
+         VERSION=0.7.1
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=$SFORGE_URL/qjson/$VERSION/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+      SOURCE_VFY=sha1:19bbef24132b238e99744bb35194c6dadece98f9
+        WEB_SITE=http://qjson.sourceforge.net/
+         ENTERED=20100624
+         UPDATED=20100624
+           SHORT="Qt4 JavaScript Object Notation"
+
+cat << EOF
+QJson is a qt-based library that maps JSON data to QVariant objects: JSON arrays
+will be mapped to QVariantList instances, while JSON objects will be mapped to
+QVariantMap.
+
+JSON (JavaScript Object Notation) is a lightweight data-interchange format. It 
+can represents integer, real number, string, an ordered sequence of value, and 
+a collection of name/value pairs.
+EOF
diff --git a/qt4-apps/qjson/PRE_BUILD b/qt4-apps/qjson/PRE_BUILD
new file mode 100644
index 0000000..87610bc
--- /dev/null
+++ b/qt4-apps/qjson/PRE_BUILD
@@ -0,0 +1,3 @@
+mk_source_dir         &&
+cd $SOURCE_DIRECTORY  &&
+unpack $SOURCE


More information about the Lunar-commits mailing list