bootstrap-bearssl.sh (332B)
- #!/bin/sh
- set -ex
- tar xof /bearssl-*.tar.gz
- cd bearssl-*/
- # Maybe consider setting the soname to libbearssl.so.${pkgver%%.*} as done in aports
- pdpmake CC=$CC LD=$CC LDDLL=$CC
- install build/brssl /usr/bin/
- install -m 644 build/libbearssl.a build/libbearssl.so /usr/lib/
- install -m 644 inc/* /usr/include/
- cd ..
- rm -fr bearssl-*/