blob: 14046c3a3243e95f1e3de3b9c09f401a436610bf (
plain)
1 # Description: A tool for transfering files with URL syntax
2 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
3 # URL: https://curl.haxx.se/
4 # Depends on: openssl-32 zlib-32 curl
5
6 name=curl-32
7 version=7.59.0
8 release=1
9 source=(https://curl.haxx.se/download/${name%-*}-$version.tar.xz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 ./configure --prefix=/usr \
15 --libdir=/usr/lib32 \
16 --enable-ipv6 \
17 --without-libidn \
18 --without-cyassl \
19 --enable-threaded-resolver \
20 --with-ca-bundle=/etc/ssl/cert.pem
21 make
22 make DESTDIR=$PKG install
23
24 rm -r $PKG/usr/{bin,include,share/man,share}
25 }
|