contrib/botan/Pkgfile

27 lines
589 B
Plaintext
Raw Normal View History

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 13:28:07 +01:00
# Depends on: bzip2 sqlite3 xz
# Optional: boost
2022-03-22 20:10:44 +01:00
name=botan
2023-10-10 06:50:12 +02:00
version=3.2.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 13:28:07 +01: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
}