mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
netsurf: build on x86 and x86_64
* fix dependencies and build system * check doesn't build correctly with haikuporter on x86_64 beause of a Python bug (hard link extraction in tar files)
This commit is contained in:
@@ -4,26 +4,24 @@ 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.
|
||||
"
|
||||
SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12-nodoc.tar.gz"
|
||||
CHECKSUM_SHA256="6fd6d2311d610b279e1bcdd5c6d4f699700159d3e0786de8306af7b4bc94fb35"
|
||||
HOMEPAGE="https://github.com/json-c/json-c/wiki"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="
|
||||
2009-2012 Eric Haszlakiewicz
|
||||
2004, 2005 Metaparadigm Pte Ltd
|
||||
"
|
||||
SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12-nodoc.tar.gz"
|
||||
CHECKSUM_SHA256="6fd6d2311d610b279e1bcdd5c6d4f699700159d3e0786de8306af7b4bc94fb35"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
json_c = $portVersion
|
||||
lib:libjson_c = $portVersion
|
||||
lib:libjson_c = 2.0.1 compat >= 2
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
@@ -31,13 +29,15 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
"
|
||||
"
|
||||
|
||||
SOURCE_DIR="json-c-$portVersion"
|
||||
|
||||
PATCHES="json_c-$portVersion.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sh autogen.sh
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
@@ -56,9 +56,12 @@ TEST()
|
||||
make check
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
json_c_devel = $portVersion
|
||||
devel:libjson_c = $portVersion
|
||||
devel:libjson_c = 2.0.1 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
json_c$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
REQUIRES_devel="json_c == $portVersion base"
|
||||
|
||||
Reference in New Issue
Block a user