mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libconfig: bump to 1.7.2, add debuginfo & SOURCE_FILENAME. (#2291)
Also move $libDir/cmake to the devel package.
This commit is contained in:
@@ -4,19 +4,23 @@ 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="https://www.hyperrealm.com/libconfig/"
|
||||
COPYRIGHT="2005-2015 Mark A Lindner"
|
||||
COPYRIGHT="2005-2018 Mark A Lindner"
|
||||
LICENSE="GNU LGPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/hyperrealm/libconfig/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d288e6ae817f4ef78df43cdb2647f768dc97899ee82fcc41f857e8eb9fd7fbdb"
|
||||
CHECKSUM_SHA256="f67ac44099916ae260a6c9e290a90809e7d782d96cdd462cac656ebc5b685726"
|
||||
SOURCE_FILENAME="libconfig-$portVersion.tar.gz"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="11.0.2"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libconfig$secondaryArchSuffix = $portVersion
|
||||
lib:libconfig$secondaryArchSuffix = 11.0.1 compat >= 11
|
||||
lib:libconfig++$secondaryArchSuffix = 11.0.1 compat >= 11
|
||||
lib:libconfig$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libconfig++$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -24,8 +28,8 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libconfig${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libconfig$secondaryArchSuffix = 11.0.1 compat >= 11
|
||||
devel:libconfig++$secondaryArchSuffix = 11.0.1 compat >= 11
|
||||
devel:libconfig$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libconfig++$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libconfig$secondaryArchSuffix == $portVersion base
|
||||
@@ -47,6 +51,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libconfig$secondaryArchSuffix \
|
||||
"$libDir"/libconfig.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
@@ -67,7 +74,10 @@ INSTALL()
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
"$developDir" \
|
||||
"$libDir"/cmake
|
||||
|
||||
rmdir "$infoDir"
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user