aboutsummaryrefslogtreecommitdiff
path: root/curl/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'curl/abuild')
-rw-r--r--curl/abuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/curl/abuild b/curl/abuild
new file mode 100644
index 00000000..6853392e
--- /dev/null
+++ b/curl/abuild
@@ -0,0 +1,41 @@
+name=curl
+version=8.13.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
+}