From 9f1b16d0f0b5552e34d14c260a42a8fd74c968b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dernat=20R=C3=A9my?= <remy.dernat@umontpellier.fr>
Date: Fri, 21 Feb 2020 16:48:39 +0100
Subject: [PATCH] new curl modulefile

---
 envfiles/curl/7.50.3       |  2 +-
 envfiles/curl/7.51.0-devel |  2 +-
 envfiles/curl/7.68.0-dev   | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 envfiles/curl/7.68.0-dev

diff --git a/envfiles/curl/7.50.3 b/envfiles/curl/7.50.3
index ebfd76a..cbe0cd9 100644
--- a/envfiles/curl/7.50.3
+++ b/envfiles/curl/7.50.3
@@ -24,4 +24,4 @@ prepend-path PATH       $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/bin
 prepend-path LD_LIBRARY_PATH  $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/lib
 prepend-path MANPATH      $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/share/man
 
-append-path  PE_PRODUCT_LIST  CURL
+append-path  PE_PRODUCT_LIST  CURL.$CURL_LEVEL.$CURL_SUBVER
diff --git a/envfiles/curl/7.51.0-devel b/envfiles/curl/7.51.0-devel
index ae848ba..c5cecea 100644
--- a/envfiles/curl/7.51.0-devel
+++ b/envfiles/curl/7.51.0-devel
@@ -24,4 +24,4 @@ prepend-path PATH       $CURL_CURPATH/$CURL_LEVEL/bin
 prepend-path LD_LIBRARY_PATH  $CURL_CURPATH/$CURL_LEVEL/lib
 prepend-path MANPATH      $CURL_CURPATH/$CURL_LEVEL/share/man
 
-append-path  PE_PRODUCT_LIST  CURL
+append-path  PE_PRODUCT_LIST  CURL.$CURL_LEVEL.$CURL_SUBVER
diff --git a/envfiles/curl/7.68.0-dev b/envfiles/curl/7.68.0-dev
new file mode 100644
index 0000000..a22a822
--- /dev/null
+++ b/envfiles/curl/7.68.0-dev
@@ -0,0 +1,27 @@
+#%Module######################################################################
+#
+# cURL 7.50.3 modulefile 20161014
+#
+
+proc ModulesHelp { } {
+puts stderr "This modulefile defines the library paths and"
+puts stderr "include paths needed to use cURL 7.50.3"
+puts stderr "The program cURL"
+puts stderr "is added to PATH."
+}
+
+
+set is_module_rm [module-info mode remove]
+
+set CURL_LEVEL 7.68
+set CURL_SUBVER 0-dev
+set CURL_CURPATH /share/apps/bin/curl
+
+setenv C_INCLUDE_PATH $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/include
+setenv CPLUS_INCLUDE_PATH $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/include
+
+prepend-path PATH       $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/bin
+prepend-path LD_LIBRARY_PATH  $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/lib
+prepend-path MANPATH      $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/share/man
+
+append-path  PE_PRODUCT_LIST  CURL.$CURL_LEVEL.$CURL_SUBVER
-- 
GitLab