aboutsummaryrefslogtreecommitdiffstats
path: root/testing/botan
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2018-04-10 03:03:09 -0400
committerTimo Teräs <timo.teras@iki.fi>2018-04-10 11:50:18 +0000
commit9a0d3cb469431d13013a71a7c204fdef1b449c97 (patch)
tree556e3a66818ee2ee2aa78baf9b3f5fcecad24428 /testing/botan
parent38796356bf9a0d2a4125bf70e247c1c680479c1d (diff)
downloadaports-9a0d3cb469431d13013a71a7c204fdef1b449c97.tar.bz2
aports-9a0d3cb469431d13013a71a7c204fdef1b449c97.tar.xz
testing/botan: upgrade to 2.5.0
Diffstat (limited to 'testing/botan')
-rw-r--r--testing/botan/APKBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/testing/botan/APKBUILD b/testing/botan/APKBUILD
index 3a67b76fdb..c87dc3b9a1 100644
--- a/testing/botan/APKBUILD
+++ b/testing/botan/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer:
pkgname=botan
_pkgreal=Botan
-pkgver=2.4.0
-pkgrel=2
+pkgver=2.5.0
+pkgrel=0
pkgdesc="Crypto and TLS for C++11"
url="https://botan.randombit.net/"
-arch="x86_64 x86 ppc64le"
+arch="all"
license="BSD-2-Clause"
depends=""
-depends_dev="python2 boost-dev libressl-dev sqlite-dev bzip2-dev zlib-dev"
-makedepends="$depends_dev"
+depends_dev="boost-dev bzip2-dev libressl-dev sqlite-dev xz-dev zlib-dev"
+makedepends="$depends_dev python2"
subpackages="$pkgname-dev $pkgname-doc"
source="https://botan.randombit.net/releases/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
@@ -18,14 +18,18 @@ install=""
build() {
cd "$builddir"
+
./configure.py \
--prefix=/usr \
--mandir=/usr/share/man \
--with-boost \
+ --with-bzip2 \
+ --with-lzma \
+ --with-openmp \
--with-openssl \
--with-sqlite3 \
- --with-bzip2 \
--with-zlib
+
make
}
@@ -37,8 +41,9 @@ check() {
package() {
cd "$builddir"
+
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/python*
}
-sha512sums="304663a7af280f206305b4a782bf77531547b8ab86bd4df89f03a1e11f3b70b8514ed2b8a4de545415efde83085678d7cf28e443aa9e80337a8b28274af6ae0e Botan-2.4.0.tgz"
+sha512sums="51d91bcf6ba41247fbb649697e33e3a0c8ba9f35ba7865be9120c0f0efb7fa8c51fb3d922f0d5576ae1ef637188821ff4352ed45de52e0798910ee354787cdda Botan-2.5.0.tgz"