2e68605ae25b7521fd0e3b14222f5273c2e654c4
[termux-packages] / disabled-packages / libressl / build.sh
1 TERMUX_PKG_HOMEPAGE=http://www.libressl.org/
2 TERMUX_PKG_DESCRIPTION="Library implementing the TLS protocol as well as general purpose cryptography functions"
3 TERMUX_PKG_DEPENDS="ca-certificates"
4 TERMUX_PKG_VERSION=2.5.0
5 TERMUX_PKG_SRCURL=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssldir=$TERMUX_PREFIX/etc/tls"
7 TERMUX_PKG_CONFLICTS="openssl"
8 # etc/tls/cert.pem is provided by ca-certificates:
9 TERMUX_PKG_RM_AFTER_INSTALL="etc/tls/cert.pem"
10
11 termux_step_pre_configure() {
12 CPPFLAGS+=" -DNO_SYSLOG"
13 }