0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-23 13:36:24 +00:00
glibc-packages/gpkg/libcurl/build.sh
Max Ivan 6117f39013
update pkgs (#303)
gpkg/glib
gpkg/harfbuzz
gpkg/libwayland
gpkg/mesa
gpkg/ncurses
gpkg/subversion
gpkg/vulkan-headers
gpkg/vulkan-icd-loader
gpkg/vulkan-tools
gpkg/cmake
gpkg/libcurl
gpkg/libexpat
gpkg/libxcursor
gpkg/xtrans
gpkg/alsa-lib
2024-11-13 14:07:19 +03:00

27 lines
991 B
Bash

TERMUX_PKG_HOMEPAGE=https://curl.se/
TERMUX_PKG_DESCRIPTION="Easy-to-use client-side URL transfer library"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=8.11.0
TERMUX_PKG_SRCURL=https://github.com/curl/curl/releases/download/curl-${TERMUX_PKG_VERSION//./_}/curl-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=db59cf0d671ca6e7f5c2c5ec177084a33a79e04c97e71cf183a5cdea235054eb
TERMUX_PKG_DEPENDS="libnghttp2-glibc, libssh2-glibc, openssl-glibc (>= 3.0.3), krb5-glibc, brotli-glibc, libpsl-glibc"
TERMUX_PKG_ESSENTIAL=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-ca-bundle=$TERMUX_PREFIX/etc/ssl/certs/ca-certificates.crt
--with-ca-path=$TERMUX_PREFIX/etc/ssl/certs
--disable-ldap
--disable-ldaps
--disable-manual
--enable-ipv6
--enable-threaded-resolver
--with-libssh2
--with-openssl
--enable-versioned-symbols
--with-random=/dev/urandom
"
termux_step_pre_configure() {
sed -i 's/cross_compiling=no/cross_compiling=yes/' ${TERMUX_PKG_SRCDIR}/configure
}