File: build-all

package info (click to toggle)
openvpn3-client 25%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,276 kB
  • sloc: cpp: 190,085; python: 7,218; ansic: 1,866; sh: 1,361; java: 402; lisp: 81; makefile: 17
file content (23 lines) | stat: -rwxr-xr-x 580 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash
set -e
set -u
if [ -z "${O3:-}" ]; then
    echo O3 var must point to ovpn3 tree ; exit 1
fi
export DEP_DIR="${DEP_DIR:-$HOME/linux}"
export TARGET="${TARGET:-linux}"
cd "$DEP_DIR"
rm -rf asio* boost* lz4* lzo* minicrypto openssl* polarssl* snappy*
echo "******* ASIO"
"$O3"/core/deps/asio/build-asio
echo "******* xxHash"
"$O3"/core/deps/xxHash/build-xxHash
if [ "${MTLS:-1}" = 0 ] ; then
    echo "******* MBEDTLS (skipped)"
else
    echo "******* MBEDTLS"
    "$O3"/core/scripts/linux/build-mbedtls
fi
echo "******* LZ4"
"$O3"/core/scripts/linux/build-lz4