ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] json.spec submission


From: Stuart Hughes
Subject: Re: [Ltib] json.spec submission
Date: Mon, 06 Jul 2009 15:37:42 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Mike,

I've uploaded json-c to the GPP and updated CVS with the attached patch.

Thanks, Stuart

Mike Goins wrote:
Sorry, I tested both versions last week, but formatted the email much
later out of sync.  The spec file should say 0.8


On Mon, Jul 6, 2009 at 6:14 AM, Stuart Hughes<address@hidden> wrote:
Hi Mike,

You should a link for version 0.8, but the spec file references version 0.7?

Regards, Stuart

Mike Goins wrote:
A C wrapper around the json format.

http://oss.metaparadigm.com/json-c/
http://oss.metaparadigm.com/json-c/json-c-0.8.tar.gz



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib

--- Begin Message --- Subject: ltib config/userspace/packages.lkc config/users... Date: Mon, 06 Jul 2009 14:33:54 +0000
CVSROOT:        /sources/ltib
Module name:    ltib
Changes by:     Stuart Hughes <seh>     09/07/06 14:33:54

Modified files:
        config/userspace: packages.lkc pkg_map 
Added files:
        dist/lfs-5.1/json-c: json-c.spec 

Log message:
        Add json-c, submitted by Mike Gains on the mailing list

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ltib/config/userspace/packages.lkc?cvsroot=ltib&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/ltib/config/userspace/pkg_map?cvsroot=ltib&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/ltib/dist/lfs-5.1/json-c/json-c.spec?cvsroot=ltib&rev=1.1

Patches:
Index: config/userspace/packages.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/packages.lkc,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- config/userspace/packages.lkc       6 Jul 2009 10:33:28 -0000       1.23
+++ config/userspace/packages.lkc       6 Jul 2009 14:33:53 -0000       1.24
@@ -1386,6 +1386,15 @@
     help
       irdadump is a tool that monitors IrDA traffic.
 
+config PKG_JSON_C
+    depends CAP_HAS_MMU
+    bool "json-c"
+    help
+      JSON-C implements a reference counting object model that allows you 
+      to easily construct JSON objects in C, output them as JSON formatted
+      strings and parse JSON formatted strings back into the C 
+      representation of JSON objects.
+
 config PKG_KBD
     depends CAP_HAS_MMU
     bool "kbd : TBD"

Index: config/userspace/pkg_map
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/pkg_map,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- config/userspace/pkg_map    6 Jul 2009 10:33:28 -0000       1.12
+++ config/userspace/pkg_map    6 Jul 2009 14:33:53 -0000       1.13
@@ -303,6 +303,7 @@
 PKG_LIBVORBIS                    = libvorbis
 PKG_LIBTHEORA                    = libtheora
 PKG_LIBDAEMON                    = libdaemon 
+PKG_JSON_C                       = json-c
 
 # X server related stuff
 PKG_RANDRPROTO                   = randrproto

Index: dist/lfs-5.1/json-c/json-c.spec
===================================================================
RCS file: dist/lfs-5.1/json-c/json-c.spec
diff -N dist/lfs-5.1/json-c/json-c.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/json-c/json-c.spec     6 Jul 2009 14:33:54 -0000       1.1
@@ -0,0 +1,36 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : JSON implementation in C.
+Name            : json-c
+Version         : 0.8
+Release         : 1
+License         : MIT
+Vendor          : ltib.org
+Packager        : Mike Goins
+Group           : System Environment/Libraries
+URL             : http://oss.metaparadigm.com/json-c/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+%{summary}
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]