Vagrant libphonenumber Build Machine
This is a Vagrant machine (precise64 box) I use to build the libphonenumber C++ library.
libphonenumber is owned by Google and The Libphonenumber Authors licensed under Apache License, Version 2.0.
- Make sure VirtualBox is installed
- Install Vagrant.
- Clone this repository or download it as zip.
- Add an entry in the host file for
192.168.99.98(optional). One can always use
vagrant sshto enter the virtual machine.
- In the terminal, go to the folder where you cloned or unzipped the files and type
vagrant upand let puppet do its magic checking out the source, and installing the packages / dependencies for building libphonenumber.
Note that puppet downloads JRE from Oracle, and I have not tested this build using java alternatives.
By default, build process is done using user "vagrant" and can be changed in the puppet module if necessary. Unchanged, the source and scripts will be located in
root is specified, the source and scripts will be located in
Two scripts are included:
libphonenumber-build.shwill build the library
libphonenumber-install.shwill install the library to