pkg(elixir-1.11.3): Added elixir 1.11.3
This commit is contained in:
parent
9b1e487156
commit
d64a2667dc
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ../../erlang/23.0.0/build.sh
|
||||
|
||||
export PATH=$PWD/bin:$PATH
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl -L "https://github.com/elixir-lang/elixir/archive/v1.11.3.tar.gz" -o elixir.tar.gz
|
||||
tar xzf elixir.tar.gz --strip-components=1
|
||||
rm elixir.tar.gz
|
||||
|
||||
./configure --prefix "$PREFIX"
|
||||
make -j$(nproc)
|
||||
|
||||
cd ..
|
||||
|
||||
cp -r build/bin .
|
||||
cp -r build/lib .
|
||||
|
||||
rm -rf build
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "elixir",
|
||||
"version": "1.11.3",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["elixir", "exs"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
elixir "$@"
|
|
@ -0,0 +1 @@
|
|||
IO.puts("OK")
|
Loading…
Reference in New Issue