mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
botan, bump version (#2637)
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
SUMMARY="A cryptography library written in C++"
|
||||
DESCRIPTION="This is the best option for crypthography in C++"
|
||||
SUMMARY="A cryptography library"
|
||||
DESCRIPTION="Botan is a cryptography library written in C++. \
|
||||
Its goal is to offer the tools necessary to implement a range of practical \
|
||||
systems, such as TLS/DTLS, PKIX certificate handling, PKCS#11 and TPM \
|
||||
hardware support, password hashing, and post quantum crypto schemes. \
|
||||
Botan also has a C89 API specifically designed to be easy to call from other \
|
||||
languages."
|
||||
HOMEPAGE="https://botan.randombit.net/"
|
||||
COPYRIGHT="2000-2017 The Botan Authors"
|
||||
COPYRIGHT="1999-2018 The Botan Authors"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/randombit/botan/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f4c02bc4247eb78ac004ce10374992dd488f0d1ba21e712874cd77481332f731"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://botan.randombit.net/releases/Botan-$portVersion.tgz"
|
||||
CHECKSUM_SHA256="c1f261555bba702c73608dde7bd743ef2d6377a41a1c295915b25c5babaf5cc5"
|
||||
SOURCE_DIR="Botan-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
@@ -20,7 +26,7 @@ fi
|
||||
|
||||
PROVIDES="
|
||||
botan$secondaryArchSuffix = $portVersion
|
||||
# lib:libbotan_2$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
lib:libbotan_2$secondaryArchSuffix = 5.6.0 compat >= 5
|
||||
cmd:botan$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -34,7 +40,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
botan${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libbotan_2$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
devel:libbotan_2$secondaryArchSuffix = 5.6.0 compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
@@ -54,22 +60,15 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i -e "/^all\>/ s/-pthread -fstack-protector/-fno-stack-protector/" src/build-data/cc/gcc.txt
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
runConfigure --omit-buildspec --omit-dirs binDir ./configure.py \
|
||||
--destdir=/ --bindir=$commandBinDir \
|
||||
--prefix=/ --bindir=$commandBinDir \
|
||||
--enable-shared-library \
|
||||
--with-bzip2 --with-lzma --with-zlib \
|
||||
--with-openssl --with-sqlite3
|
||||
@@ -89,5 +88,6 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
LIBRARY_PATH="$sourceDir${LIBRARY_PATH:+:$LIBRARY_PATH}" \
|
||||
./botan-test
|
||||
}
|
||||
Reference in New Issue
Block a user