gegl: Update from 0.3.32 to 0.3.34
[termux-packages] / packages / squid / build.sh
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.27
4 TERMUX_PKG_DEPENDS="libcrypt, openssl, libnettle, libltdl"
5 TERMUX_PKG_SRCURL=http://www.squid-cache.org/Versions/v3/3.5/squid-${TERMUX_PKG_VERSION}.tar.xz
6 TERMUX_PKG_SHA256=5ddb4367f2dc635921f9ca7a59d8b87edb0412fa203d1543393ac3c7f9fef0ec
7 TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
8 # disk-io requires msgctl and store-io requires disk-io
9 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
10 ac_cv_lib_sasl2_sasl_errstring=no
11 ac_cv_dbopen_libdb=no
12 squid_cv_gnu_atomics=yes
13 --disable-external-acl-helpers
14 --disable-strict-error-checking
15 --disable-disk-io
16 --disable-storeio
17 --without-mit-krb5
18 --with-dl
19 --with-openssl
20 --disable-forw-via-db
21 --enable-auth
22 --without-libnettle
23 --enable-translation
24 --with-size-optimizations
25 --without-libxml2
26 --without-gnutls
27 --enable-delay-pools
28 --libexecdir=$TERMUX_PREFIX/libexec/squid
29 --sysconfdir=$TERMUX_PREFIX/etc/squid
30 --datarootdir=$TERMUX_PREFIX/share/squid
31 --mandir=$TERMUX_PREFIX/share/man
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