summaryrefslogtreecommitdiff
path: root/repo/curl/curl.xibuild
blob: 09699d5010af3e46e69b635dc2080584509376ad (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="openssl zlib zstd libnghttp libpsl cacerts"

PKG_VER=7.85.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
}