[Add] ZCShareSDK 0.0.12
[CocoaPods.git] / Specs / b / 9 / f / MTLManagedObjectAdapter / 1.0.2 / MTLManagedObjectAdapter.podspec.json
blobf6fc954b90854df486f858d37098369eab5506a0
2   "name": "MTLManagedObjectAdapter",
3   "version": "1.0.2",
4   "license": "MIT",
5   "summary": "Model framework for Cocoa and Cocoa Touch.",
6   "homepage": "https://github.com/Mantle/Mantle",
7   "authors": {
8     "GitHub": "support@github.com"
9   },
10   "source": {
11     "git": "https://github.com/Overcoat/MTLManagedObjectAdapter.git",
12     "tag": "1.0.2"
13   },
14   "requires_arc": true,
15   "platforms": {
16     "ios": "5.0",
17     "osx": "10.7",
18     "watchos": "2.0",
19     "tvos": "9.0"
20   },
21   "source_files": "MTLManagedObjectAdapter",
22   "dependencies": {
23     "Mantle": [
24       "~> 2.0"
25     ]
26   },
27   "frameworks": [
28     "Foundation",
29     "CoreData"
30   ],
31   "prepare_command": "PREFIX=\"mtl_moa_\"\n# Add prefix to header imports\next_header_prefix_src() {\n  SOURCE_FILE=$1\n  EXT_HEADER_NAME=$2\n  sed -i.bak \"s/\"${EXT_HEADER_NAME}\"/\"${PREFIX}${EXT_HEADER_NAME}\"/g\" ${SOURCE_FILE} && rm ${SOURCE_FILE}.bak\n}\next_header_prefix_src MTLManagedObjectAdapter/MTLManagedObjectAdapter.m EXTRuntimeExtensions.h\next_header_prefix_src MTLManagedObjectAdapter/MTLManagedObjectAdapter.m EXTScope.h\next_header_prefix_src MTLManagedObjectAdapter/extobjc/EXTRuntimeExtensions.m EXTRuntimeExtensions.h\next_header_prefix_src MTLManagedObjectAdapter/extobjc/EXTScope.m EXTScope.h\n# Change header name\next_header_prefix_mv() {\n  SOURCE_FILE=$1\n  FILE_NAME=`basename ${SOURCE_FILE}`\n  DIR_NAME=`dirname ${SOURCE_FILE}`\n  mv ${SOURCE_FILE} `dirname ${SOURCE_FILE}`/${PREFIX}`basename ${SOURCE_FILE}`\n}\nexport -f ext_header_prefix_mv\nexport PREFIX=${PREFIX}\nfind MTLManagedObjectAdapter/extobjc -name \"*.h\" -exec bash -c 'ext_header_prefix_mv \"$0\"' {} \\;\nunset ext_header_prefix_mv\nunset PREFIX",
32   "subspecs": [
33     {
34       "name": "extobjc",
35       "source_files": "MTLManagedObjectAdapter/extobjc",
36       "private_header_files": "MTLManagedObjectAdapter/extobjc/*.h"
37     }
38   ]