1
0
forked from ports/contrib
contrib-tek/botan/Pkgfile
Tim Biermann bd874d3d40 Revert "botan: 2.19.3 -> 3.0.0"
This reverts commit 8f8535455d147358c035c827dab38c9e4de6a333.
2023-04-14 15:06:02 +02:00

27 lines
590 B
Plaintext

# Description: Crypto and TLS for Modern C++
# URL: https://botan.randombit.net/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: bzip2 sqlite3 xz
# Optional: boost
name=botan
version=2.19.3
release=1
source=(https://botan.randombit.net/releases/Botan-$version.tar.xz)
build() {
cd ${name^}-$version
prt-get isinst boost && PKGMK_BOTAN+=' --with-boost'
/usr/bin/python3 ./configure.py --prefix=/usr $PKGMK_BOTAN \
--with-bzip \
--with-zlib \
--with-sqlite3 \
--with-os-feature=getrandom
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
}