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

DEPS=(cacerts openssl zlib zstd libnghttp libpsl)

PKG_VER=7.80.0
SOURCE=https://curl.se/download/curl-$PKG_VER.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
}

package () {
    make DESTDIR=$PKG_DEST install
}