|
43 | 43 | @echo installing h2o)
|
44 | 44 | git clone --depth 1 https://github.com/libuv/libuv.git && libuv/autogen.sh
|
45 | 45 | cd libuv && ./configure
|
46 |
| - cd libuv && make && sudo make install && sudo /sbin/ldconfig |
| 46 | + cd libuv && make -j8 && sudo make install && sudo /sbin/ldconfig |
47 | 47 | rm -rf libuv && git clone --depth 1 https://github.com/tatsuhiro-t/wslay.git
|
48 | 48 | cd wslay && autoreconf -i && automake && autoconf && ./configure && make
|
49 | 49 | cd wslay && sudo make install && sudo /sbin/ldconfig
|
50 | 50 | rm -rf wslay
|
51 |
| - wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2f.tar.gz |
52 |
| - tar xzvf OpenSSL_1_0_2f.tar.gz && rm OpenSSL_1_0_2f.tar.gz |
53 |
| - mv openssl-OpenSSL_1_0_2f ssl |
| 51 | + wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz |
| 52 | + tar xzvf OpenSSL_1_0_2l.tar.gz && rm OpenSSL_1_0_2l.tar.gz |
| 53 | + mv openssl-OpenSSL_1_0_2l ssl |
54 | 54 | cd ssl && ./config --prefix=/usr/local --openssldir=/usr/local/openssl
|
55 |
| - cd ssl && make && sudo make install && sudo /sbin/ldconfig |
56 |
| - rm -rf ssl && wget https://github.com/h2o/h2o/archive/v1.7.0.tar.gz |
57 |
| - tar xzvf v1.7.0.tar.gz && rm v1.7.0.tar.gz |
58 |
| - cd h2o-1.7.0 && cmake -DWITH_BUNDLED_SSL=off . && make && sudo make install |
59 |
| - sudo /sbin/ldconfig && rm -rf h2o-1.7.0 |
| 55 | + cd ssl && make -j8 && sudo make install && sudo /sbin/ldconfig |
| 56 | + rm -rf ssl && wget https://github.com/h2o/h2o/archive/master.tar.gz |
| 57 | + tar xzvf master.tar.gz && rm master.tar.gz |
| 58 | + cd h2o-master && cmake -DWITH_BUNDLED_SSL=off . && make && sudo make install |
| 59 | + sudo /sbin/ldconfig && rm -rf h2o-master |
60 | 60 | echo "h2o installed" && h2o --version
|
61 | 61 |
|
62 | 62 | install:
|
|
0 commit comments