aboutsummaryrefslogtreecommitdiff
path: root/testing/bearssl/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-17 02:05:31 +0300
committerCem Keylan <cem@ckyln.com>2020-05-17 02:05:31 +0300
commit0ea0a2d5825032bde46266f8d9beb00ddec93009 (patch)
treefccdb6ff4d5b2e2fd8689043255a54891effdac6 /testing/bearssl/build
parent65d46425a24e1d07d1bb4d3bbd55f0a05a32310a (diff)
downloadrepository-0ea0a2d5825032bde46266f8d9beb00ddec93009.tar.gz
bearssl: add new package at 0.6
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"