From e475cf7fa5add5ca0d740c5fb15d72921f362b62 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Sat, 27 Oct 2018 20:50:46 +0000 Subject: [PATCH] botan: bump to 2.8.0. --- ...{botan-2.6.0.recipe => botan-2.8.0.recipe} | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) rename dev-libs/botan/{botan-2.6.0.recipe => botan-2.8.0.recipe} (81%) diff --git a/dev-libs/botan/botan-2.6.0.recipe b/dev-libs/botan/botan-2.8.0.recipe similarity index 81% rename from dev-libs/botan/botan-2.6.0.recipe rename to dev-libs/botan/botan-2.8.0.recipe index db622a27c..94e18dd8b 100644 --- a/dev-libs/botan/botan-2.6.0.recipe +++ b/dev-libs/botan/botan-2.8.0.recipe @@ -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()