libofx, revbump, add devel requirement, drop charset.alias (#13764)

also sed cmake configuration for headers path
This commit is contained in:
Schrijvers Luc
2026-02-22 15:43:01 +01:00
committed by GitHub
parent 02ad0a54fd
commit 6c9b365edf

View File

@@ -4,7 +4,7 @@ usually provided by financial institutions"
HOMEPAGE="https://github.com/libofx/libofx/"
COPYRIGHT="2002-2010 Benoit Grégoire"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/libofx/libofx/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="ea9fa07759622ecc7f25b637fa8fb34d587af80607ca4389d25966a6a4f94ab9"
@@ -38,6 +38,7 @@ PROVIDES_devel="
"
REQUIRES_devel="
libofx$secondaryArchSuffix == $portVersion base
devel:libosp$secondaryArchSuffix
"
SUMMARY_tools="Command line tools for libofx"
@@ -88,9 +89,15 @@ INSTALL()
{
ninja -C build install
# remove charset.alias
rm -f "$libDir"/charset.alias
prepareInstalledDevelLib libofx
fixPkgconfig
sed "/INTERFACE_INCLUDE_DIRECTORIES/c INTERFACE_INCLUDE_DIRECTORIES \"$includeDir;\"" \
-i $libDir/cmake/libofx/LibOFXTargets.cmake
packageEntries devel \
$developDir