mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
botan: bump to 2.8.0.
This commit is contained in:
@@ -10,23 +10,25 @@ COPYRIGHT="1999-2018 The Botan Authors"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://botan.randombit.net/releases/Botan-$portVersion.tgz"
|
||||
CHECKSUM_SHA256="c1f261555bba702c73608dde7bd743ef2d6377a41a1c295915b25c5babaf5cc5"
|
||||
CHECKSUM_SHA256="e7159b127e91e0c158245d61c638c50d443ec7b440b6b0161328c47b3aba3960"
|
||||
SOURCE_DIR="Botan-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
if [ "$targetArchitecture" != x86_gcc2 ]; then
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
else
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="8.8.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
botan$secondaryArchSuffix = $portVersion
|
||||
lib:libbotan_2$secondaryArchSuffix = 5.6.0 compat >= 5
|
||||
lib:libbotan_2$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:botan$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -40,7 +42,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
botan${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libbotan_2$secondaryArchSuffix = 5.6.0 compat >= 5
|
||||
devel:libbotan_2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
@@ -68,7 +70,7 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
runConfigure --omit-buildspec --omit-dirs binDir ./configure.py \
|
||||
--prefix=/ --bindir=$commandBinDir \
|
||||
--prefix=/ --bindir="$commandBinDir" \
|
||||
--enable-shared-library \
|
||||
--with-bzip2 --with-lzma --with-zlib \
|
||||
--with-openssl --with-sqlite3
|
||||
@@ -83,7 +85,7 @@ INSTALL()
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
"$developDir"
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user