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

MAKEDEPS=(make )
DEPS=(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
}