Building nodegit for NodeOS with the cross building toolchain
$ npm install -S nodeos-nodegitThat'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(becausecurlcant download them) - Running
autoreconf -fi(to get rid of themissingscript warning) - Configuring
libssh2withopenssl - Building Nodegit
- Generating the
dist/andlib/folder - Copying over all to the base folder and unpacking itself
- Creating corresponding prebuilds for
prebuild-install