summaryrefslogtreecommitdiff
path: root/libs/botan/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/botan/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/botan/MAKEPKG')
-rw-r--r--libs/botan/MAKEPKG36
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/botan/MAKEPKG b/libs/botan/MAKEPKG
new file mode 100644
index 0000000..cee61ea
--- /dev/null
+++ b/libs/botan/MAKEPKG
@@ -0,0 +1,36 @@
+#!/bin/mkpkg
+# description: Crypto and TLS for C++11
+# url: https://botan.randombit.net/
+
+name=botan
+version=3.13.0
+release=1
+source=(
+ https://botan.randombit.net/releases/Botan-${version}.tar.xz
+)
+
+sha256sums=(
+ "12f5a8358890bbee82edfe9d2e7769b0a610b6dd0e0698aea13d20a675d84620"
+)
+
+build() {
+ cd "Botan-$version"
+
+ ./configure.py \
+ --prefix=/usr \
+ --with-zlib
+
+ make
+ make DESTDIR="$PKG" install
+
+ # Remove unnecessary files
+ rm -rf "$PKG/usr/share/doc"
+ rm -rf "$PKG/usr/include/botan-3/botan/internal" 2>/dev/null || true
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh