diff --git a/Tools/openssl/build b/Tools/openssl/build new file mode 100755 index 0000000..eb39aca --- /dev/null +++ b/Tools/openssl/build @@ -0,0 +1,25 @@ +#!/usr/bin/env modbuild + +case ${OS} in +Darwin ) + target='darwin64-x86_64-cc' + ;; +Linux ) + target='linux-x86_64' + ;; +esac + +pbuild::configure() { + "${MODULE_SRCDIR}"/configure \ + --prefix="${PREFIX}" \ + ${target} \ + || exit 1 +} + +# use system gcc to compile +declare -rx CC=gcc + +pbuild::add_to_group 'Tools' +pbuild::compile_in_sourcetree +pbuild::make_all + diff --git a/Tools/openssl/modulefile b/Tools/openssl/modulefile new file mode 100644 index 0000000..6e5920d --- /dev/null +++ b/Tools/openssl/modulefile @@ -0,0 +1,17 @@ +#%Module1.0 + +module-whatis "Toolkit for the TLS and SSL protocol" +module-url "https://openssl.org/" +module-license "Apache style" +module-maintainer "Achim Gsell " + +module-help " +OpenSSL is an open source project that provides a robust, commercial-grade, +and full-featured toolkit for the Transport Layer Security (TLS) and Secure +Sockets Layer (SSL) protocols. It is also a general-purpose cryptography +library. For more information about the team and community around the +project, or to start making your own contributions, start with the community +page. To get the latest news, download the source, and so on, please see the +sidebar or the buttons at the top of every page. +" +