contrib/botan/Pkgfile

26 lines
552 B
Plaintext

# Description: Crypto and TLS for Modern C++
# URL: https://botan.randombit.net/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: sqlite xz
name=botan
version=2.19.2
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 \
--with-bzip \
--with-zlib \
--with-sqlite3 \
--with-os-feature=getrandom
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
}