pkg(ocaml-4.12.0): Add ocaml 4.12.0

This commit is contained in:
Dan Vargas 2021-04-02 23:15:00 -05:00
parent 0ee5003533
commit 46bd22f75a
6 changed files with 33 additions and 0 deletions

17
packages/ocaml/4.12.0/build.sh vendored Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl -L "https://github.com/ocaml/ocaml/archive/4.12.0.tar.gz" -o ocaml.tar.gz
tar xzf ocaml.tar.gz --strip-components=1
rm ocaml.tar.gz
./configure --prefix="$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ..
rm -rf build