Latest 51.2
Homepage http://icu-project.org/
License BSD

Latest podspec

{
    "name": "icu4c",
    "version": "51.2",
    "summary": "International Components for Unicode.",
    "homepage": "http://icu-project.org/",
    "license": {
        "type": "BSD",
        "file": "license.html"
    },
    "authors": "IBM",
    "source": {
        "http": "http://download.icu-project.org/files/icu4c/51.2/icu4c-51_2-src.tgz"
    },
    "source_files": [
        "source/common/**/*.{c,h,cpp}",
        "source/i18n/**/*.{c,h,cpp}",
        "source/io/**/*.{c,h,cpp}",
        "source/layout/**/*.{c,h,cpp}",
        "source/layoutex/**/*.{c,h,cpp}",
        "source/config.h",
        "source/stubdata/**/*.{c,h,cpp}",
        "source/tools/tzcode/tzfile.h"
    ],
    "compiler_flags": "-DU_COMMON_IMPLEMENTATION -DU_I18N_IMPLEMENTATION -DU_IO_IMPLEMENTATION",
    "public_header_files": [
        "**/ucnv.h",
        "**/tzfile.h"
    ],
    "xcconfig": {
        "CLANG_CXX_LANGUAGE_STANDARD": "gnu++0x",
        "CLANG_CXX_LIBRARY": "libstdc++",
        "USE_HEADERMAP": "NO"
    },
    "prepare_command": "    cd sourcen    CURRENTPATH=`pwd`n    TOOLCHAIN="`xcode-select -p`/Toolchains/XcodeDefault.xctoolchain/usr/bin"n    CXXFLAGS="-stdlib=libstdc++ -std=gnu++11"n    LDFLAGS="-lstdc++ -stdlib=libstdc++"n    CXXFLAGS="$CXXFLAGS" CC="$TOOLCHAIN/clang" CXX="$TOOLCHAIN/clang++" LDFLAGS="$LDFLAGS" ./configuren    DIR=$CURRENTPATHnn    cd common ; make install-headers includedir="$DIR/Headers/icu4c" ; cd ..n    cd i18n ; make install-headers includedir="$DIR/Headers/icu4c" ; cd ..n    cd io ; make install-headers includedir="$DIR/Headers/icu4c" ; cd ..n    cd layout ; make install-headers includedir="$DIR/Headers/icu4c" ; cd ..n    cd layoutex ; make install-headers includedir="$DIR/Headers/icu4c" ; cd ..nn    cd common ; make install-headers includedir="$DIR/BuildHeaders/icu4c" ; cd ..n    cd i18n ; make install-headers includedir="$DIR/BuildHeaders/icu4c" ; cd ..n    cd io ; make install-headers includedir="$DIR/BuildHeaders/icu4c" ; cd ..n    cd layout ; make install-headers includedir="$DIR/BuildHeaders/icu4c" ; cd ..n    cd layoutex ; make install-headers includedir="$DIR/BuildHeaders/icu4c" ; cd ..n    cd ..nn    find . -type f | LC_CTYPE=C xargs sed -i '' 's/include "unicode\//include "/g'n    find . -type f | LC_CTYPE=C xargs sed -i '' 's/include "layout\//include "/g'nn    echo "n--- a/source/common/ubidi.cn+++ b/source/common/ubidi.cn1200c1200n<     Point point;n---n>     struct ICU4CPoint point;n--- a/source/common/ubidiimp.hn+++ b/source/common/ubidiimp.hn176c176n< typedef struct Point {n---n> typedef struct ICU4CPoint {n186c186n<     Point *points;          /* pointer to array of points */n---n>     struct ICU4CPoint *points;          /* pointer to array of points */n--- a/source/common/ubidiln.cn+++ b/source/common/ubidiln.cn689c689n<         Point *point, *start=pBiDi->insertPoints.points,n---n>         struct ICU4CPoint *point, *start=pBiDi->insertPoints.points,n--- a/source/i18n/rbnf.cppn+++ b/source/i18n/rbnf.cppn34c34n< #ifdef DEBUGn---n> #ifdef DEBUG_ICUn327c327n< #ifdef DEBUGn---n> #ifdef DEBUG_ICUn554c554n< #ifdef DEBUGn---n> #ifdef DEBUG_ICU" | patch -p1n",
    "requires_arc": false
}

Pin It on Pinterest

Share This