blob: 365fcab12933f0f2c00074c6d14711225e2e13d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
#set -x
set -e
set -o pipefail
if [ -n "${BOOST_VERSION}" ]; then
mkdir -p $BOOST_ROOT
wget --no-verbose --output-document=- \
http://sourceforge.net/projects/boost/files/boost/${BOOST_VERSION}/boost_${BOOST_VERSION//./_}.tar.bz2/download \
| tar jxf - --strip-components=1 -C "${BOOST_ROOT}"
fi
|