aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tesserae/curl.nim33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tesserae/curl.nim b/src/tesserae/curl.nim
new file mode 100644
index 0000000..b433b2d
--- /dev/null
+++ b/src/tesserae/curl.nim
@@ -0,0 +1,33 @@
+import .. / lapis
+
+tessera "curl":
+ source: "https://curl.se/download/curl-8.15.0.tar.xz"
+ patches: @[""]
+ dependencies: @[
+ "libpsl",
+ "make_ca",
+ "c_ares",
+ "brotli",
+ "libidn2",
+ "libssh2",
+ "nghttp2",
+ ]
+ build: @[
+ """
+ ./configure --prefix=/usr \
+ --disable-static \
+ --with-openssl \
+ --with-ca-path=/etc/ssl/certs
+ """,
+ "make",
+ "make install",
+ "rm -rf docs/examples/.deps",
+ """
+ find docs \( -name Makefile\* -o \
+ -name \*.1 -o \
+ -name \*.3 -o \
+ -name CMakeLists.txt \) -delete
+ """,
+ "cp -v -R docs -T /usr/share/doc/curl-8.15.0"
+ ]
+ result: "curl"
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.