|
root / base / curl
curl Plain Text 61 lines 1.3 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
# Build script for curl
# Command line tool for transferring data with URLs

set -e

cd "$SRCDIR"

# Ensure runtime linker can find our libraries
export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH"

# Configure curl with LibreSSL
./configure \
    --build=$BUILD_TRIPLE \
    --host=$BUILD_TRIPLE \
    --prefix=$PREFIX \
    --with-ssl=/usr \
    --with-zlib=/usr \
    --enable-ipv6 \
    --enable-unix-sockets \
    --disable-ldap \
    --disable-ldaps \
    --without-brotli \
    --without-zstd \
    --without-libidn2 \
    --without-libpsl \
    --without-nghttp2 \
    --without-nghttp3 \
    --without-ngtcp2 \
    --without-librtmp \
    --without-libssh2

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"
# curl - Command line tool for transferring data with URLs
# https://curl.se/

[package]
name = "curl"
version = "8.18.0"
release = 1
description = "Command line tool and library for transferring data with URLs"
url = "https://curl.se/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = ["zlib"]
build = ["zlib"]

[[source]]
file = "curl-8.18.0.tar.xz"
urls = ["https://curl.se/download/curl-8.18.0.tar.xz"]
checksum = "40df79166e74aa20149365e11ee4c798a46ad57c34e4f68fd13100e2c9a91946"


[build]
parallel = true
jobs = 0