blob: fc3ec34c7c745658aa146549b24ec89e6f5645fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer:
pkgname=botan
_pkgreal=Botan
pkgver=2.5.0
pkgrel=0
pkgdesc="Crypto and TLS for C++11"
url="https://botan.randombit.net/"
arch="all !armhf"
license="BSD-2-Clause"
depends=""
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"
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-zlib
make
}
check() {
cd "$builddir"
LD_LIBRARY_PATH=. python2 src/python/botan2.py
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/python*
}
sha512sums="51d91bcf6ba41247fbb649697e33e3a0c8ba9f35ba7865be9120c0f0efb7fa8c51fb3d922f0d5576ae1ef637188821ff4352ed45de52e0798910ee354787cdda Botan-2.5.0.tgz"
|