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

MAKEDEPS="make "
DEPS="libressl zlib zstd libnghttp libpsl cacerts"

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
}