mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Initial .bep and .patch files for json-c.
This commit is contained in:
24
dev-libs/json-c/json-c-0.9.bep
Normal file
24
dev-libs/json-c/json-c-0.9.bep
Normal 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"
|
||||
21
dev-libs/json-c/patches/json-c-0.9.patch
Normal file
21
dev-libs/json-c/patches/json-c-0.9.patch
Normal 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
|
||||
Reference in New Issue
Block a user