Add bootstrap script.
This script takes care of all the dependencies.
This commit is contained in:
parent
209c9cf911
commit
1de4ad70db
23
ocaml/bootstrap
Executable file
23
ocaml/bootstrap
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
|
||||
case `uname -s` in
|
||||
'Darwin')
|
||||
PKG_CONFIG_PATH=/usr/local//Cellar/sqlite/3.8.0.2/lib/pkgconfig
|
||||
brew install gnutls
|
||||
;;
|
||||
'FreeBSD')
|
||||
sudo portsnap fetch update
|
||||
cd /usr/ports/security/gnutls
|
||||
sudo make install
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported platform."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
opam update
|
||||
opam install lwt
|
||||
opam install conf-gnutls
|
||||
opam install ocamlnet
|
||||
opam install irc-client
|
Loading…
Reference in a new issue