aboutsummaryrefslogtreecommitdiff
path: root/testing/bearssl/build
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bearssl/build')
-rwxr-xr-xtesting/bearssl/build9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/bearssl/build b/testing/bearssl/build
new file mode 100755
index 00000000..6eac3f50
--- /dev/null
+++ b/testing/bearssl/build
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+make
+
+install -Dm755 build/brssl "$1/usr/bin/brssl"
+install -Dm644 build/libbearssl.a "$1/usr/lib/libbearssl.a"
+install -Dm644 build/libbearssl.so "$1/usr/lib/libbearssl.so"
+
+mv inc "$1/usr/include"