summaryrefslogtreecommitdiff
path: root/strata/core/curl.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/core/curl.morph')
-rw-r--r--strata/core/curl.morph15
1 files changed, 15 insertions, 0 deletions
diff --git a/strata/core/curl.morph b/strata/core/curl.morph
new file mode 100644
index 00000000..d445ee00
--- /dev/null
+++ b/strata/core/curl.morph
@@ -0,0 +1,15 @@
+name: curl
+kind: chunk
+configure-commands:
+#
+# Curl must be configured --with-ca-bundle in order to find the
+# correct certificate bundle at runtime, which is later generated
+# by update-ca-certificates. Other applications such as git, rely
+# on curl knowing the default location of the certs.
+#
+- ./buildconf
+- ./configure --disable-manual --prefix="$PREFIX" --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install