kiss-mfavila-large/ports/sbcl/build

28 lines
665 B
Plaintext
Raw Normal View History

2021-06-13 19:07:03 +00:00
#!/bin/sh -e
if [ -x /bin/sbcl ] #Can we skip a bootstrap procedure?
then lsp=sbcl
elif [ -x /bin/ecl ]
then lsp=ecl
2021-06-13 21:46:00 +00:00
#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/"
# make
# make install
# PATH="$PWD/../tools/bin/:$PATH"
# lsp=ecl
# cd ..
2021-06-13 19:07:03 +00:00
fi
./make.sh "${lsp}" --prefix="$1/usr" --fancy
./install.sh