abuild (625B)
1 name=curl 2 version=8.18.0 3 release=1 4 source="https://$name.se/download/$name-$version.tar.xz" 5 keep_static=1 6 7 build() { 8 mkdir bin 9 echo "#!/bin/sh 10 /bin/true 11 " > bin/perl 12 chmod +x bin/perl 13 export PATH=$PWD/bin:$PATH 14 15 sed 's/\(curl_LDADD =\)/\1 -all-static/' -i src/Makefile.in 16 17 ./configure \ 18 --prefix=/usr \ 19 --with-openssl \ 20 --enable-threaded-resolver \ 21 --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ 22 --without-brotli \ 23 --without-libidn2 \ 24 --without-libpsl \ 25 --without-librtmp \ 26 --without-nghttp2 \ 27 --without-zstd \ 28 --disable-ldap \ 29 --disable-manual \ 30 --disable-ares 31 make 32 make install 33 }