diff options
Diffstat (limited to 'third_party/libphonenumber/cpp/README')
-rw-r--r-- | third_party/libphonenumber/cpp/README | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/third_party/libphonenumber/cpp/README b/third_party/libphonenumber/cpp/README index 775348a..5cb35e2 100644 --- a/third_party/libphonenumber/cpp/README +++ b/third_party/libphonenumber/cpp/README @@ -55,11 +55,26 @@ Requirements: $ make testinstall - ICU - http://userguide.icu-project.org/ + Version 4.4 or more recent is required. + It can be built from sources. You need to download the source tarball at + this location: + http://site.icu-project.org/download + Then you can extract, build and install it this way: + $ tar xzf icu4c-4_4_2-src.tgz + $ cd icu/source + $ ./configure && make && sudo make install - You can install it very easily on a Debian-based distribution: + If you have a Debian-based distribution providing an up-to-date version of + ICU, you can install it using apt-get: $ sudo apt-get install libicu-dev + - Boost + Version 1.40 or more recent is required. + + You can install it very easily on a Debian-based GNU/Linux distribution: + $ sudo apt-get install libboost1.40-dev libboost-thread1.40-dev + + Note: Boost Thread is the only library needed at link time. How to build libphonenumber C++: $ cd libphonenumber @@ -67,3 +82,10 @@ How to build libphonenumber C++: $ cd build $ cmake ../cpp/ $ make + +Supported build parameters: + Build parameters can be specified invoking CMake with '-DKEY=VALUE' or using a + CMake user interface (ccmake or cmake-gui). + + USE_LITE_METADATA = ON | OFF [OFF] -- Generates smaller metadata that doesn't + include example numbers. |