# Description: An URL retrieval utility and library # URL: https://curl.se/ # Maintainer: protonesso, nagakamira at gmail dot com # Depends on: zstd ca-certificates libssh2 nghttp2 c-ares libidn2 brotli krb5 # Section: net name=curl version=7.77.0 release=1 source=("https://curl.se/download/$name-$version.tar.gz") build() { if [ "$USEBOOTSTRAP" != "yes" ]; then unset ROOTFS fi cd "$SRC"/$name-$version ./configure $BUILDFLAGS \ --prefix=/usr \ --mandir=/usr/share/man \ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ --with-gssapi="$ROOTFS/usr" \ --with-libssh2 \ --with-nghttp2 \ --with-pic \ --with-random=/dev/urandom \ --enable-ipv6 \ --enable-threaded-resolver \ --enable-versioned-symbols \ --disable-ldap \ --disable-ldaps \ --disable-manual \ --disable-ntlm-wb \ ac_cv_sizeof_off_t=8 make make DESTDIR="$PKG" install make DESTDIR="$PKG" install -C scripts }