summaryrefslogtreecommitdiff
path: root/opt/curl/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/curl/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/curl/MAKEPKG')
-rw-r--r--opt/curl/MAKEPKG44
1 files changed, 44 insertions, 0 deletions
diff --git a/opt/curl/MAKEPKG b/opt/curl/MAKEPKG
new file mode 100644
index 0000000..24bbd5c
--- /dev/null
+++ b/opt/curl/MAKEPKG
@@ -0,0 +1,44 @@
+#!/bin/mkpkg
+# description: Command line tool and library for transferring data with URLs
+# url: https://curl.se/
+
+name=curl
+version=8.22.0
+release=1
+source=(https://curl.se/download/$name-$version.tar.xz)
+depends=(libressl zlib zstd brotli)
+
+sha256sums=(
+ "f7ef3ae8a22e521f289803fe93543eb64c329b58aa73a9e224dfd915a2a5f4f7"
+)
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --disable-docs \
+ --disable-manual \
+ --enable-threaded-resolver \
+ --enable-ipv6 \
+ --with-openssl \
+ --with-ca-bundle=/etc/ssl/cert.pem \
+ --with-brotli \
+ --with-zstd \
+ --without-libpsl \
+ --without-librtmp \
+ --without-libidn2
+
+ make
+ make DESTDIR=$PKG install
+ rm -f $PKG/usr/lib/*.la
+ rm -rf $PKG/usr/share
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh