Reformat 10 recipes

This commit is contained in:
Gareth Poole
2015-12-16 20:35:20 -05:00
committed by Gareth Poole
parent f6faf6e73a
commit 45b487e3f8
10 changed files with 130 additions and 147 deletions

View File

@@ -5,14 +5,15 @@ construct JSON objects in C, output them as JSON formatted strings and parse \
JSON formatted strings back into the C representation of JSON objects.
"
HOMEPAGE="https://github.com/json-c/json-c/wiki"
COPYRIGHT="2009-2012 Eric Haszlakiewicz
2004, 2005 Metaparadigm Pte Ltd"
LICENSE="MIT"
COPYRIGHT="
2009-2012 Eric Haszlakiewicz
2004, 2005 Metaparadigm Pte Ltd
"
REVISION="1"
SOURCE_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12-nodoc.tar.gz"
CHECKSUM_SHA256="6fd6d2311d610b279e1bcdd5c6d4f699700159d3e0786de8306af7b4bc94fb35"
REVISION="1"
SOURCE_DIR="json-c-$portVersion"
PATCHES="json_c-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
@@ -22,6 +23,15 @@ PROVIDES="
REQUIRES="
haiku
"
PROVIDES_devel="
json_c_devel = $portVersion
devel:libjson_c = 2.0.1 compat >= 2
"
REQUIRES_devel="
json_c$secondaryArchSuffix == $portVersion base
"
BUILD_PREREQUIRES="
haiku_devel
cmd:aclocal
@@ -31,10 +41,6 @@ BUILD_PREREQUIRES="
cmd:make
"
SOURCE_DIR="json-c-$portVersion"
PATCHES="json_c-$portVersion.patchset"
BUILD()
{
autoreconf -fi
@@ -55,13 +61,3 @@ TEST()
{
make check
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
json_c_devel = $portVersion
devel:libjson_c = 2.0.1 compat >= 2
"
REQUIRES_devel="
json_c$secondaryArchSuffix == $portVersion base
"