20 lines
322 B
Bash
Executable file
20 lines
322 B
Bash
Executable file
#!/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
|