libconfig: bump version.

SONAME change.
This commit is contained in:
Jerome Duval
2017-11-20 20:55:21 +01:00
parent cd12d67dcd
commit 409b5225c2

View File

@@ -3,29 +3,29 @@ DESCRIPTION="Libconfig is a simple library for processing structured \
configuration files. Libconfig is very compact, a fraction of the size of the \
expat XML parser library. This makes it well-suited for memory constrained \
systems like handheld devices."
HOMEPAGE="http://www.hyperrealm.com/libconfig/"
HOMEPAGE="https://www.hyperrealm.com/libconfig/"
COPYRIGHT="2005-2015 Mark A Lindner"
LICENSE="GNU LGPL v3"
REVISION="1"
SOURCE_URI="https://github.com/hyperrealm/libconfig/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="18739792eb463d73525d7aea9b0a48b14106fae1cfec09aedc668d8c1079adf1"
CHECKSUM_SHA256="d288e6ae817f4ef78df43cdb2647f768dc97899ee82fcc41f857e8eb9fd7fbdb"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
libconfig$secondaryArchSuffix = $portVersion compat >= 1
lib:libconfig$secondaryArchSuffix = 9.2.0 compat >= 9
lib:libconfig++$secondaryArchSuffix = 9.2.0 compat >= 9
libconfig$secondaryArchSuffix = $portVersion
lib:libconfig$secondaryArchSuffix = 11.0.1 compat >= 11
lib:libconfig++$secondaryArchSuffix = 11.0.1 compat >= 11
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libconfig${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libconfig$secondaryArchSuffix = 9.2.0 compat >= 9
devel:libconfig++$secondaryArchSuffix = 9.2.0 compat >= 9
libconfig${secondaryArchSuffix}_devel = $portVersion
devel:libconfig$secondaryArchSuffix = 11.0.1 compat >= 11
devel:libconfig++$secondaryArchSuffix = 11.0.1 compat >= 11
"
REQUIRES_devel="
libconfig$secondaryArchSuffix == $portVersion base
@@ -35,6 +35,9 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:bison
cmd:flex
cmd:g++$secondaryArchSuffix
@@ -46,8 +49,9 @@ BUILD_PREREQUIRES="
BUILD()
{
ACLOCAL=true AUTOCONF=true AUTOMAKE=true MAKEINFO=true AUTOHEADER=true \
runConfigure ./configure
autoreconf -fi
MAKEINFO=true \
runConfigure ./configure --disable-dependency-tracking
make $jobArgs
}