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