Tools/openssl: added
This commit is contained in:
25
Tools/openssl/build
Executable file
25
Tools/openssl/build
Executable 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
17
Tools/openssl/modulefile
Normal 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.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user