mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
135 lines
3.3 KiB
Bash
135 lines
3.3 KiB
Bash
SUMMARY="A library for online banking and financial applications"
|
|
DESCRIPTION="AQBanking"
|
|
HOMEPAGE="http://www.aqbanking.de"
|
|
COPYRIGHT="Martin Preuss"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.aquamaniac.de/rdm/attachments/download/652/aqbanking-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="fc94a2bebfbb4fc26b98dc93c8fa36a8026298cd7995f79821c480db35587f6b"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
libVersion="44.9.1"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
aqbanking$secondaryArchSuffix = $portVersion
|
|
lib:libaqbanking$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgmp$secondaryArchSuffix
|
|
lib:libgwenhywfar$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libltdl$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libxmlsec1$secondaryArchSuffix
|
|
lib:libxslt$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
aqbanking${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:aqbanking_config$commandSuffix
|
|
devel:libaqbanking$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
aqbanking$secondaryArchSuffix == $portVersion base
|
|
devel:libgmp$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libxmlsec1$secondaryArchSuffix
|
|
devel:libxslt$secondaryArchSuffix
|
|
devel:libgwenhywfar$secondaryArchSuffix
|
|
"
|
|
|
|
SUMMARY_tools="Command line utilities for aqbanking"
|
|
PROVIDES_tools="
|
|
aqbanking${secondaryArchSuffix}_tools = $portVersion
|
|
cmd:aqbanking_cli$commandSuffix
|
|
cmd:aqebics_tool$commandSuffix
|
|
cmd:aqhbci_tool4$commandSuffix
|
|
cmd:aqofxconnect_tool$commandSuffix
|
|
cmd:aqpaypal_tool$commandSuffix
|
|
"
|
|
REQUIRES_tools="
|
|
haiku$secondaryArchSuffix
|
|
aqbanking$secondaryArchSuffix == $portVersion base
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libgmp$secondaryArchSuffix
|
|
lib:libgnutls$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
lib:libgwenhywfar$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libltdl$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libxmlsec1$secondaryArchSuffix
|
|
lib:libxslt$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:xmlmerge$commandSuffix
|
|
devel:libgmp$secondaryArchSuffix
|
|
devel:libgwenhywfar$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libxmlsec1$secondaryArchSuffix
|
|
devel:libxslt$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:msgfmt$secondaryArchSuffix
|
|
cmd:msgmerge$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -if
|
|
runConfigure --omit-dirs "binDir" ./configure \
|
|
--bindir=$commandBinDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/lib*.la
|
|
mkdir -p $docDir
|
|
mv $prefix/data/doc/aqbanking/* $docDir
|
|
rm -rf $prefix/data/doc
|
|
|
|
prepareInstalledDevelLib libaqbanking
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$commandBinDir/aqbanking-config \
|
|
$dataDir/aclocal \
|
|
$libDir/cmake
|
|
|
|
#tools package
|
|
packageEntries tools \
|
|
$commandBinDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|