[Add] AlibabacloudAgency20221216 1.7.0
[CocoaPods.git] / Specs / f / a / c / GoogleProtobuf / 2.5.0 / GoogleProtobuf.podspec.json
bloba4cec139146fe79107114e16d21d454ad8e4ceb6
2   "name": "GoogleProtobuf",
3   "platforms": {
4     "ios": "6.0"
5   },
6   "version": "2.5.0",
7   "license": {
8     "type": "BSD",
9     "file": "COPYING.txt"
10   },
11   "summary": "Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.",
12   "description": "        Protocol buffers are Google's language-neutral, platform-neutral, \n        extensible mechanism for serializing structured data – think XML, but \n        smaller, faster, and simpler.\n\n        Produces a stand-alone build of the Google Protocol Buffer library for\n        use in iOS applications. Xcode 5 is required to build protobuf from  source.\n        A copy of the protoc compiler is also built and placed in the Pods/GoogleProtobuf\n        folder. It may be used in a custom build rule to generate C++ files based on the \n        .proto files.\n",
13   "authors": {
14     "Google": "protobuf@googlegroups.com"
15   },
16   "source": {
17     "http": "https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz"
18   },
19   "homepage": "https://developers.google.com/protocol-buffers/",
20   "source_files": [
21     "config.h",
22     "src/google/protobuf/**/*.{h,cc}"
23   ],
24   "compiler_flags": "-D_THREAD_SAFE",
25   "exclude_files": [
26     "src/**/compiler/cpp/**",
27     "src/**/compiler/python/**",
28     "src/**/compiler/java/**",
29     "src/**/compiler/**",
30     "src/**/*unittest*",
31     "src/**/*test_util*"
32   ],
33   "header_mappings_dir": "src",
34   "preserve_paths": [
35     "bin",
36     "lib"
37   ],
38   "requires_arc": false,
39   "prepare_command": "        (\n            ./configure --prefix=\"$PWD\"\n            make -j4\n            make check\n            make install\n            sed -i .orig 's/tr1\\///g' config.h\n            sed -i .orig 's/::tr1//g' config.h\n            perl -i.bak -pe '$_ = qq[#elif defined(__aarch64__)\n#define GOOGLE_PROTOBUF_ARCH_ARM 1\n#define GOOGLE_PROTOBUF_ARCH_64_BIT 1\n$_] if $_ eq qq[#elif defined(__MIPSEL__)\n]' src/google/protobuf/stubs/platform_macros.h\n            perl -i.bak -pe '$_ = qq[#define google google_public\n\n$_] if $_ eq qq[#include <assert.h>\n]' src/google/protobuf/stubs/common.h\n        ) | tee \"/tmp/$(basename $0).$$.tmp\"\n"