2022-03-22 20:10:44 +01:00
|
|
|
# Description: Crypto and TLS for Modern C++
|
|
|
|
# URL: https://botan.randombit.net/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-12-25 12:28:07 +00:00
|
|
|
# Depends on: bzip2 sqlite3 xz
|
|
|
|
# Optional: boost
|
2022-03-22 20:10:44 +01:00
|
|
|
|
|
|
|
name=botan
|
2024-02-23 18:13:16 +01:00
|
|
|
version=3.3.0
|
2022-03-22 20:10:44 +01:00
|
|
|
release=1
|
|
|
|
source=(https://botan.randombit.net/releases/Botan-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name^}-$version
|
|
|
|
|
|
|
|
prt-get isinst boost && PKGMK_BOTAN+=' --with-boost'
|
|
|
|
|
2022-12-25 12:28:07 +00:00
|
|
|
/usr/bin/python3 ./configure.py --prefix=/usr $PKGMK_BOTAN \
|
2022-03-22 20:10:44 +01:00
|
|
|
--with-bzip \
|
|
|
|
--with-zlib \
|
|
|
|
--with-sqlite3 \
|
|
|
|
--with-os-feature=getrandom
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2022-04-19 21:45:33 +02:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share
|
2022-03-22 20:10:44 +01:00
|
|
|
}
|