2021-06-13 15:07:03 -04:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-10-04 23:11:49 -04:00
|
|
|
#if [ -x /bin/sbcl ] #Can we skip a bootstrap procedure?
|
|
|
|
# then lsp=sbcl
|
|
|
|
#if [ -x /bin/ecl ]
|
|
|
|
# then lsp=ecl
|
|
|
|
#else #Guess not.
|
|
|
|
# if [ -x /bin/axel ]
|
|
|
|
# then axel https://gitlab.com/embeddable-common-lisp/ecl/-/archive/develop/ecl-develop.tar.bz2
|
|
|
|
# else
|
|
|
|
# curl https://gitlab.com/embeddable-common-lisp/ecl/-/archive/develop/ecl-develop.tar.bz2 --output ecl-develop.tar.bz2
|
|
|
|
# fi
|
|
|
|
# tar xf ecl-develop.tar.bz2
|
|
|
|
# mkdir tools
|
|
|
|
# cd ecl-develop
|
|
|
|
# ./configure --prefix="$PWD/../tools/" #Workaround for ECL configure
|
|
|
|
# make
|
|
|
|
# make install
|
|
|
|
# cd ..
|
|
|
|
# lsp=ecl
|
|
|
|
# PATH="tools/bin/:$PATH"
|
|
|
|
#fi
|
|
|
|
lsp=ecl
|
2021-06-13 15:07:03 -04:00
|
|
|
./make.sh "${lsp}" --prefix="$1/usr" --fancy
|
|
|
|
./install.sh
|