Merge branch '213-new-module-for-erlang' into 'master'
Resolve "new module for Erlang" Closes #213 See merge request Pmodules/buildblocks!301
This commit is contained in:
0
Programming/erlang/.gitkeep
Normal file
0
Programming/erlang/.gitkeep
Normal file
11
Programming/erlang/README.md
Normal file
11
Programming/erlang/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Erlang module
|
||||
|
||||
Build a Pmodule for Erlang. This module depends on wxWidgets and OpenSSL.
|
||||
|
||||
***Please note:***
|
||||
|
||||
After running the build script, the dependency files `$ERLANG_PREFIX/.dependencies` must be patched by hand. For the time being dependencies like `Libraries:wxWidgets/3.0.5` are not supported in the variant files but in the dependency file of the module. The dependency file must look like:
|
||||
```
|
||||
openssl/1.1.1m
|
||||
Libraries:wxWidgets/3.0.5
|
||||
```
|
||||
19
Programming/erlang/build
Executable file
19
Programming/erlang/build
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::compile_in_sourcetree
|
||||
|
||||
pbuild::set_download_url \
|
||||
"https://github.com/$P/otp/releases/download/OTP-${V_PKG}/otp_src_${V_PKG}.tar.gz"
|
||||
pbuild::set_sha256sum 'otp-24.2.1.tar.gz:380a77aef34ad449bf8370a380b7901364b9be23e3d25068fc5c43258bcbec11'
|
||||
#pbuild::install_docfiles 'Copyright' 'NEWS' 'README'
|
||||
|
||||
pbuild::pre_configure() {
|
||||
pbuild::add_configure_args "--with-ssl=${OPENSSL_DIR}"
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
4
Programming/erlang/files/variants.yaml
Normal file
4
Programming/erlang/files/variants.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
overlay: base
|
||||
relstage: stable
|
||||
erlang/24.2.1:
|
||||
- dependencies: openssl/1.1.1m wxWidgets/3.0.5
|
||||
15
Programming/erlang/modulefile
Normal file
15
Programming/erlang/modulefile
Normal file
@@ -0,0 +1,15 @@
|
||||
#%Pmodule
|
||||
|
||||
module-whatis "Practical functional programming for a parallel worldinterfaces"
|
||||
module-url "https://www.erlang.org"
|
||||
module-license "Apache 2.0"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
Erlang is a programming language used to build massively scalable soft
|
||||
real-time systems with requirements on high availability. Some of its
|
||||
uses are in telecoms, banking, e-commerce, computer telephony and
|
||||
instant messaging. Erlang's runtime system has built-in support for
|
||||
concurrency, distribution and fault tolerance.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user