summaryrefslogtreecommitdiff
path: root/repo/botan/botan.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-01 18:23:59 +0100
committerdavidovski <david@davidovski.xyz>2022-06-01 18:23:59 +0100
commitfccdaa986f67f820df2914bef851d5fed77abac8 (patch)
tree6bc6503af26cbc32f5db1558c129f7303282172e /repo/botan/botan.xibuild
parentfa2c7177695d2072d541057a9610e55b51ff4db1 (diff)
added thunderbird and qt5
Diffstat (limited to 'repo/botan/botan.xibuild')
-rw-r--r--repo/botan/botan.xibuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/repo/botan/botan.xibuild b/repo/botan/botan.xibuild
new file mode 100644
index 0000000..1856cf7
--- /dev/null
+++ b/repo/botan/botan.xibuild
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+NAME="botan"
+DESC="Crypto and TLS for C++11"
+
+MAKEDEPS="make boost bzip2 openssl sqlite xz zlib"
+DEPS="musl libstdc++ libgcc"
+
+PKG_VER=2.19.1
+SOURCE="https://botan.randombit.net/releases/Botan-$PKG_VER.tar.xz"
+
+build () {
+ CXXFLAGS="$CXXFLAGS -O3"
+ python3 ./configure.py \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --with-boost \
+ --with-bzip2 \
+ --with-lzma \
+ --with-openmp \
+ --with-openssl \
+ --with-sqlite3 \
+ --with-zlib \
+ --with-os-feature=getrandom \
+ --disable-static
+ make
+}
+
+check() {
+ LD_LIBRARY_PATH="$BUILD_ROOT" ./botan-test
+}
+
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ rm -rf "$PKG_DEST"/usr/lib/python*
+}