diff options
Diffstat (limited to 'botan/Pkgfile')
-rw-r--r-- | botan/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/botan/Pkgfile b/botan/Pkgfile new file mode 100644 index 000000000..c0aa01259 --- /dev/null +++ b/botan/Pkgfile @@ -0,0 +1,24 @@ +# 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.1 +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-openssl \ + --with-sqlite3 \ + --with-os-feature=getrandom + make + make DESTDIR=$PKG install +} |