tor_static/build.sh

26 lines
428 B
Bash
Raw Normal View History

2018-11-02 09:48:37 +00:00
#!/bin/bash
rootdir=/opt/tor_static
#build zlib
cd $rootdir/zlib/repo/
`cat ../config`
2018-11-02 10:05:08 +00:00
make -j $(nproc) && make install
2018-11-02 09:48:37 +00:00
#build libevent
cd $rootdir/libevent/repo/
./autogen.sh
`cat ../config`
2018-11-02 10:05:08 +00:00
make -j $(nproc) && make install
2018-11-02 09:48:37 +00:00
#build openssl
cd $rootdir/openssl/repo/
./autogen.sh
`cat ../config`
2018-11-02 10:05:08 +00:00
make -j $(nproc) && make install
2018-11-02 09:48:37 +00:00
#build static tor
cd $rootdir/tor
./autogen.sh
`cat ../config`
2018-11-02 10:05:08 +00:00
make -j $(nproc) && make install