1
0
Fork 0
frozenports/ftp/curl/SCHEMATIC

36 lines
1.5 KiB
Bash

#!/bin/sh
name="curl"
short_desc="Command line tool and library for transferring data with URLs"
desc="curl is used in command lines or scripts to transfer data. It is also used in
cars, television sets, routers, printers, audio equipment, mobile phones,
tablets, settop boxes, media players and is the internet transfer backbone for
thousands of software applications affecting billions of humans daily.
It supports DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP,
LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, Telnet and
TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP
form based upload, proxies, HTTP/2, cookies, user+password authentication
(Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate and Kerberos), file transfer
resume, proxy tunneling and more."
category="ftp"
version="8.5.0"
maintainer="ffqq@danwin1210.de"
www="https://curl.se"
master_site="https://curl.se/download"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("MIT")
build_dependencies=("devel/gmake" "devel/gcc" "security/openssl")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version || exit 1
./configure --prefix=/usr \
--with-openssl \
--with-ca-path=/etc/ssl/certs \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
|| exit 1
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
}