gegl: Update from 0.3.32 to 0.3.34
[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"
4712c4fa 3TERMUX_PKG_VERSION=3.5.27
2ceffc8d 4TERMUX_PKG_DEPENDS="libcrypt, openssl, libnettle, libltdl"
bfe763fa 5TERMUX_PKG_SRCURL=http://www.squid-cache.org/Versions/v3/3.5/squid-${TERMUX_PKG_VERSION}.tar.xz
4712c4fa 6TERMUX_PKG_SHA256=5ddb4367f2dc635921f9ca7a59d8b87edb0412fa203d1543393ac3c7f9fef0ec
bfe763fa
VB
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
d946e67c 11ac_cv_dbopen_libdb=no
4712c4fa 12squid_cv_gnu_atomics=yes
d946e67c 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
4712c4fa 27--enable-delay-pools
bfe763fa
VB
28--libexecdir=$TERMUX_PREFIX/libexec/squid
29--sysconfdir=$TERMUX_PREFIX/etc/squid
30--datarootdir=$TERMUX_PREFIX/share/squid
2ceffc8d 31--mandir=$TERMUX_PREFIX/share/man
bfe763fa
VB
32"
33
34termux_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