Tools/openssl: added

This commit is contained in:
2016-05-19 15:30:45 +02:00
parent 2ff46ff833
commit 9b74d840dd
2 changed files with 42 additions and 0 deletions

25
Tools/openssl/build Executable file
View File

@@ -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

17
Tools/openssl/modulefile Normal file
View File

@@ -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 <achim.gsell@psi.ch>"
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.
"