summaryrefslogtreecommitdiff
path: root/repo/core/curl.xibuild
blob: b5da8e4eec3a6ca891a812717c5dc570f784a089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

DEPS=(cacerts openssl zlib zstd libnghttp libpsl)

SOURCE=https://curl.se/download/curl-7.80.0.tar.xz
DESC="A utility for transfering files with URL syntax"

build () {
    ./configure --prefix=/usr                           \
            --disable-static                        \
            --with-openssl                          \
            --enable-threaded-resolver              \
            --with-ca-path=/etc/ssl/certs &&
    make

    make DESTDIR=$PKG_DEST install
}