mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
jansson: bump to 2.11, add debuginfo. (#2357)
This commit is contained in:
@@ -4,20 +4,23 @@ JSON data. It features a simple and intuitive API and data model, \
|
||||
comprehensive documentation, no dependencies on other libraries, full unicode \
|
||||
support (UTF-8) and an extensive test suite."
|
||||
HOMEPAGE="http://www.digip.org/jansson/"
|
||||
COPYRIGHT="2009-2016 Petri Lehtinen
|
||||
COPYRIGHT="2009-2018 Petri Lehtinen
|
||||
2011-2012 Basile Starynkevitch
|
||||
2011-2012 Graeme Smecher"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.digip.org/jansson/releases/jansson-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="241125a55f739cd713808c4e0089986b8c3da746da8b384952912ad659fa2f5a"
|
||||
CHECKSUM_SHA256="783132e2fc970feefc2fa54199ef65ee020bd8e0e991a78ea44b8586353a0947"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="4.11.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
jansson$secondaryArchSuffix = $portVersion compat >= 2
|
||||
lib:libjansson$secondaryArchSuffix = 4.10.0 compat >= 4
|
||||
jansson$secondaryArchSuffix = $portVersion
|
||||
lib:libjansson$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -25,7 +28,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libjansson${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libjansson$secondaryArchSuffix = 4.10.0 compat >= 4
|
||||
devel:libjansson$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
jansson$secondaryArchSuffix == $portVersion base
|
||||
@@ -48,6 +51,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage jansson$secondaryArchSuffix \
|
||||
"$libDir"/libjansson.so.$libVersion
|
||||
|
||||
PATCH()
|
||||
{
|
||||
if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then
|
||||
Reference in New Issue
Block a user