Building nodegit for NodeOS with the cross building toolchain
$ npm install -S nodeos-nodegit
That's are the steps to build Nodegit
Instead of node-pre-gyp
i used node-gyp
with prebuilt-install
to make use of precompiled binaries.
- Setting up the Cross building toolchain
- Getting some Environment Variables (and defining some of them)
- Downloading Nodegit (without Submodules)
- Installing only Nodegit's dependencies
- Downloading
libssh2
(becausecurl
cant download them) - Running
autoreconf -fi
(to get rid of themissing
script warning) - Configuring
libssh2
withopenssl
- Building Nodegit
- Generating the
dist/
andlib/
folder - Copying over all to the base folder and unpacking itself
- Creating corresponding prebuilds for
prebuild-install