mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libqalculate, bump to version 5.9.0 (#13668)
This commit is contained in:
@@ -6,12 +6,19 @@ COPYRIGHT="2003-2007, 2008, 2016-2025 Hanna Knutsson"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/Qalculate/libqalculate/releases/download/v$portVersion/libqalculate-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="59588d69475cbb374b0b90ddef731802edd5b2da696ef706d0ca5fff4dbcfdfa"
|
||||
CHECKSUM_SHA256="94d734b9303b3b68df61e4255f2eddeee346b66ec4b6e134f19e1a3cc3ff4a09"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="23.3.8"
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="23.3.10"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -22,16 +29,12 @@ REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:gnuplot
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libgettextpo$secondaryArchSuffix
|
||||
lib:libgmp$secondaryArchSuffix
|
||||
lib:libhistory$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libicudata$secondaryArchSuffix
|
||||
lib:libicui18n$secondaryArchSuffix
|
||||
lib:libicuuc$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libmpfr$secondaryArchSuffix
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -43,10 +46,10 @@ REQUIRES_devel="
|
||||
libqalculate$secondaryArchSuffix == $portVersion base
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libgmp$secondaryArchSuffix
|
||||
devel:libicudata$secondaryArchSuffix >= 74
|
||||
devel:libicui18n$secondaryArchSuffix >= 74
|
||||
devel:libicuuc$secondaryArchSuffix >= 74
|
||||
devel:libmpfr$secondaryArchSuffix >= 6
|
||||
devel:libicudata$secondaryArchSuffix
|
||||
devel:libicui18n$secondaryArchSuffix
|
||||
devel:libicuuc$secondaryArchSuffix
|
||||
devel:libmpfr$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -61,18 +64,24 @@ precision, uncertainty propagation, interval arithmetic, plotting, and a \
|
||||
user-friendly interface."
|
||||
PROVIDES_tools="
|
||||
libqalculate${secondaryArchSuffix}_tools = $portVersion
|
||||
cmd:qalc$secondaryArchSuffix = $portVersion
|
||||
cmd:qalc$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_tools="
|
||||
libqalculate$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
$REQUIRES
|
||||
lib:libhistory$secondaryArchSuffix
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
"
|
||||
|
||||
ARCHITECTURES_doc="any"
|
||||
PROVIDES_doc="
|
||||
libqalculate_doc
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libgettextlib$secondaryArchSuffix
|
||||
devel:libgmp$secondaryArchSuffix
|
||||
devel:libhistory$secondaryArchSuffix >= 8
|
||||
devel:libicudata$secondaryArchSuffix >= 74
|
||||
@@ -86,9 +95,14 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:cmp
|
||||
cmd:diff
|
||||
cmd:doxygen
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:intltoolize
|
||||
cmd:intltoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:msgfmt$secondaryArchSuffix
|
||||
cmd:msgmerge$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -98,8 +112,11 @@ defineDebugInfoPackage libqalculate$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure \
|
||||
runConfigure --omit-dirs "binDir docDir" ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--docdir=$documentationDir/packages/libqalculate \
|
||||
--disable-static
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -110,15 +127,22 @@ INSTALL()
|
||||
# remove libtool file
|
||||
rm $libDir/libqalculate.la
|
||||
|
||||
prepareInstalledDevelLib libqalculate
|
||||
prepareInstalledDevelLib \
|
||||
libqalculate
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
# tools package
|
||||
packageEntries tools \
|
||||
$binDir \
|
||||
$commandBinDir \
|
||||
$manDir
|
||||
|
||||
# documentation package
|
||||
packageEntries doc \
|
||||
$documentationDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user