diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-13 00:25:03 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-13 00:25:03 +0800 |
| commit | 239ced844ea434e623686094af3de168f90e4391 (patch) | |
| tree | 541d2c575f3b3832ca1a3087bde3f65dc74a8f89 /repos/core/curl/abuild | |
| parent | 3f80bb67166389b3acabf8f024ee1ad1a4364c1f (diff) | |
| download | alicelinux-239ced844ea434e623686094af3de168f90e4391.tar.gz alicelinux-239ced844ea434e623686094af3de168f90e4391.zip | |
repos updated
Diffstat (limited to 'repos/core/curl/abuild')
| -rw-r--r-- | repos/core/curl/abuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/repos/core/curl/abuild b/repos/core/curl/abuild new file mode 100644 index 00000000..07740087 --- /dev/null +++ b/repos/core/curl/abuild @@ -0,0 +1,41 @@ +name=curl +version=8.8.0 +release=1 +source="https://$name.se/download/$name-$version.tar.xz" +build_opt=" + --with-openssl + --enable-threaded-resolver + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + --without-brotli + --without-libidn2 + --without-libpsl + --without-librtmp + --without-nghttp2 + --without-zstd + --disable-manual" + +build() { + mkdir bin + echo "#!/bin/sh + /bin/true + " > bin/perl + chmod +x bin/perl + export PATH=$PWD/bin:$PATH + + ./configure \ + --prefix=/usr \ + --with-openssl \ + --enable-threaded-resolver \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ + --without-brotli \ + --without-libidn2 \ + --without-libpsl \ + --without-librtmp \ + --without-nghttp2 \ + --without-zstd \ + --disable-ldap \ + --disable-manual \ + --disable-ares + make + make install +} |