blob: 4a8c3d11115d5fe77e7e1db4363f15b493119f15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
NSH_PLUGIN_DIR=$(dirname $0)
NSH_INSTALL_PREFIX=${NSH_INSTALL_PREFIX:-/usr}
cd ${NSH_PLUGIN_DIR}
autoreconf -i -f
[ -d build ] || mkdir build
[ -d ${NSH_INSTALL_PREFIX} ] || mkdir -p ${NSH_INSTALL_PREFIX}
cd build
../configure --prefix ${NSH_INSTALL_PREFIX}
make
sudo make install
|