Commit | Line | Data |
---|---|---|
14a7443c FF |
1 | TERMUX_PKG_HOMEPAGE=https://www.torproject.org |
2 | TERMUX_PKG_DESCRIPTION="The Onion Router anonymizing overlay network" | |
ed51797b | 3 | TERMUX_PKG_DEPENDS="libevent, openssl, liblzma" |
755a2672 FF |
4 | TERMUX_PKG_VERSION=0.3.2.9 |
5 | TERMUX_PKG_SHA256=435a7b91aa98d8b1a0ac1f60ca30c0ff3665b18a02e570bab5fe27935829160f | |
14a7443c | 6 | TERMUX_PKG_SRCURL=https://www.torproject.org/dist/tor-$TERMUX_PKG_VERSION.tar.gz |
246bff1e | 7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-zstd --disable-unittests" |
14a7443c FF |
8 | TERMUX_PKG_CONFFILES="etc/tor/torrc" |
9 | TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" | |
f2926797 VB |
10 | |
11 | termux_step_pre_configure () { | |
14a7443c | 12 | LDFLAGS="$LDFLAGS -llog" |
f2926797 VB |
13 | } |
14 | ||
15 | termux_step_post_make_install () { | |
14a7443c FF |
16 | # use default config |
17 | mv "$TERMUX_PREFIX/etc/tor/torrc.sample" "$TERMUX_PREFIX/etc/tor/torrc" | |
f2926797 | 18 | } |