Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 1 | #!/bin/bash |
Vitaly Buka | 4615e0d | 2015-10-14 15:35:12 -0700 | [diff] [blame] | 2 | # Copyright 2015 The Weave Authors. All rights reserved. |
Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
Jacob Marble | e785ec9 | 2016-01-13 13:49:44 -0800 | [diff] [blame] | 6 | # Instead of this script, try running "make all -j". |
| 7 | # TODO: Delete this file after 15-feb-2016. |
| 8 | |
Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 9 | DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P) |
Johan Euphrosine | 3523fdd | 2015-10-14 20:46:05 -0700 | [diff] [blame] | 10 | ROOT_DIR=$(cd -P -- "$(dirname -- "$0")/.." && pwd -P) |
Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 11 | |
Johan Euphrosine | fdf7515 | 2015-11-06 01:16:22 -0800 | [diff] [blame] | 12 | sudo apt-get update && sudo apt-get install ${APT_GET_OPTS} \ |
Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 13 | autoconf \ |
| 14 | automake \ |
| 15 | binutils \ |
Vitaly Buka | 15888c7 | 2016-02-04 11:24:04 -0800 | [diff] [blame] | 16 | cmake \ |
Johan Euphrosine | fdf7515 | 2015-11-06 01:16:22 -0800 | [diff] [blame] | 17 | g++ \ |
Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 18 | hostapd \ |
| 19 | libavahi-client-dev \ |
| 20 | libcurl4-openssl-dev \ |
Harry Pan | c93476e | 2016-02-02 11:14:54 +0800 | [diff] [blame] | 21 | libevent-dev \ |
Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 22 | libexpat1-dev \ |
Johan Euphrosine | 400f2e7 | 2015-10-05 16:17:20 -0700 | [diff] [blame] | 23 | libnl-3-dev \ |
| 24 | libnl-route-3-dev \ |
Johan Euphrosine | fdf7515 | 2015-11-06 01:16:22 -0800 | [diff] [blame] | 25 | libssl-dev \ |
Vitaly Buka | 38c96f9 | 2015-08-31 10:21:43 -0700 | [diff] [blame] | 26 | libtool \ |
Alex Vakulenko | de1a2e7 | 2015-09-21 12:15:44 -0700 | [diff] [blame] | 27 | || exit 1 |