tor_static/build.sh

26 lines
428 B
Bash
Executable File

#!/bin/bash
rootdir=/opt/tor_static
#build zlib
cd $rootdir/zlib/repo/
`cat ../config`
make -j $(nproc) && make install
#build libevent
cd $rootdir/libevent/repo/
./autogen.sh
`cat ../config`
make -j $(nproc) && make install
#build openssl
cd $rootdir/openssl/repo/
./autogen.sh
`cat ../config`
make -j $(nproc) && make install
#build static tor
cd $rootdir/tor
./autogen.sh
`cat ../config`
make -j $(nproc) && make install