Commit | Line | Data |
---|---|---|
bfe763fa VB |
1 | TERMUX_PKG_HOMEPAGE=http://www.squid-cache.org |
2 | TERMUX_PKG_DESCRIPTION="Full-featured Web proxy cache server" | |
3 | TERMUX_PKG_VERSION=3.5.26 | |
d946e67c | 4 | TERMUX_PKG_REVISION=1 |
2ceffc8d | 5 | TERMUX_PKG_DEPENDS="libcrypt, openssl, libnettle, libltdl" |
bfe763fa VB |
6 | TERMUX_PKG_SRCURL=http://www.squid-cache.org/Versions/v3/3.5/squid-${TERMUX_PKG_VERSION}.tar.xz |
7 | TERMUX_PKG_SHA256=baa1eecb7d6e18881f4455060d80ee7cb95ae7e2695fdccf7e21ccc8f879a982 | |
8 | TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" | |
9 | # disk-io requires msgctl and store-io requires disk-io | |
10 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | |
2ceffc8d | 11 | ac_cv_lib_sasl2_sasl_errstring=no |
d946e67c FF |
12 | ac_cv_dbopen_libdb=no |
13 | --disable-external-acl-helpers | |
bfe763fa VB |
14 | --disable-strict-error-checking |
15 | --disable-disk-io | |
16 | --disable-storeio | |
17 | --without-mit-krb5 | |
18 | --with-dl | |
19 | --with-openssl | |
2ceffc8d | 20 | --disable-forw-via-db |
bfe763fa VB |
21 | --enable-auth |
22 | --without-libnettle | |
23 | --enable-translation | |
24 | --with-size-optimizations | |
25 | --without-libxml2 | |
2ceffc8d | 26 | --without-gnutls |
bfe763fa VB |
27 | --libexecdir=$TERMUX_PREFIX/libexec/squid |
28 | --sysconfdir=$TERMUX_PREFIX/etc/squid | |
29 | --datarootdir=$TERMUX_PREFIX/share/squid | |
2ceffc8d | 30 | --mandir=$TERMUX_PREFIX/share/man |
bfe763fa VB |
31 | squid_cv_gnu_atomics=yes |
32 | " | |
33 | ||
34 | termux_step_pre_configure () { | |
35 | LDFLAGS="$LDFLAGS -llog" | |
36 | ||
37 | # needed for building cf_gen | |
38 | export BUILDCXX=g++ | |
39 | # else it picks up our cross CXXFLAGS | |
40 | export BUILDCXXFLAGS=' ' | |
41 | } | |
42 |