Initial .bep and .patch files for json-c.

This commit is contained in:
Scott McCreary
2010-09-09 05:05:45 +00:00
parent 9d3730988f
commit 494a1792aa
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
DESCRIPTION="A JSON implementation in C"
HOMEPAGE="http://oss.metaparadigm.com/json-c/"
SRC_URI="http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="3a13d264528dcbaf3931b0cede24abae"
BUILD {
cd json-c-0.9
libtoolize --force --install --copy
aclocal
autoconf
automake
./configure --prefix=/boot/common
make
}
INSTALL {
cd json-c-0.9
make install DESTDIR=${DESTDIR}
}
LICENSE="MIT"
COPYRIGHT="2004-2005 Metaparadigm Pte Ltd"

View File

@@ -0,0 +1,21 @@
diff -urN json-c-0.9/Makefile.am json-c-0.9-haiku/Makefile.am
--- json-c-0.9/Makefile.am 2009-07-31 02:57:29.052690944 +0000
+++ json-c-0.9-haiku/Makefile.am 2010-09-09 04:53:58.000000000 +0000
@@ -1,4 +1,4 @@
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Wwrite-strings -Werror -D_GNU_SOURCE -D_REENTRANT
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc
diff -urN json-c-0.9/Makefile.in json-c-0.9-haiku/Makefile.in
--- json-c-0.9/Makefile.in 2009-07-31 02:58:09.042467328 +0000
+++ json-c-0.9-haiku/Makefile.in 2010-09-09 04:58:41.989855744 +0000
@@ -219,7 +219,7 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Wwrite-strings -Werror -D_GNU_SOURCE -D_REENTRANT
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc
lib_LTLIBRARIES = libjson.la
pkgconfigdir = $(libdir)/pkgconfig