summaryrefslogtreecommitdiff
path: root/curl-32/Pkgfile
blob: fea2e9579ced9c07fe23e04a21e2c8bebd1ddbce (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.se/
    4 # Depends on: curl openssl-32 zstd-32
    5 # Optional: brotli-32
    6 
    7 name=curl-32
    8 version=7.83.1
    9 release=1
   10 source=(https://curl.se/download/${name%-*}-$version.tar.xz)
   11 
   12 build() {
   13   cd ${name%-*}-$version
   14 
   15   prt-get isinst brotli && ! prt-get isinst brotli-32 && printf "\e[031mbrotli is detected on your system, please run:
   16   prt-get depinst brotli-32
   17   before continuing with curl-32.\033[0m\n" &&
   18   exit 1
   19 
   20   ./configure --prefix=/usr \
   21     --libdir=/usr/lib32 \
   22     --enable-ipv6 \
   23     --without-libidn2 \
   24     --with-openssl \
   25     --without-cyassl \
   26     --enable-threaded-resolver \
   27     --with-ca-bundle=/etc/ssl/cert.pem
   28   make
   29   make DESTDIR=$PKG install
   30 
   31   rm -r $PKG/usr/{bin,include,share/man,share}
   32 }

Generated by cgit