toxcore/other/travis/autotools-linux-install
iphydf 20be9a8c5b
Fix NaCl build: tar was called incorrectly.
tar -jxf expects a file.
2017-01-08 16:37:56 +00:00

15 lines
336 B
Bash

#!/bin/sh
. other/travis/toxcore-linux-install
# Also install vanilla NaCl
[ -f $CACHE_DIR/lib/amd64/libnacl.a ] || {
curl https://hyperelliptic.org/nacl/nacl-20110221.tar.bz2 | tar jx
cd nacl-20110221 # pushd
"./do"
# "make install"
mv build/*/include/* $CACHE_DIR/include
mv build/*/lib/* $CACHE_DIR/lib
cd - # popd
}