[Add] SindarinSwiftSDK 1.0.0
[CocoaPods.git] / Specs / c / b / 1 / Tor / 406.8.2 / Tor.podspec.json
blobde20494b3278bcf27cbe5480cdad85f5be687951
2   "name": "Tor",
3   "version": "406.8.2",
4   "summary": "Tor.framework is the easiest way to embed Tor in your iOS application.",
5   "description": "Tor.framework is the easiest way to embed Tor in your iOS application. Currently, the framework compiles in static versions of tor, libevent, openssl, and liblzma.",
6   "homepage": "https://github.com/iCepa/Tor.framework",
7   "license": {
8     "type": "MIT"
9   },
10   "authors": {
11     "Conrad Kramer": "conrad@conradkramer.com",
12     "Chris Ballinger": "chris@chatsecure.org",
13     "Mike Tigas": "mike@tig.as",
14     "Benjamin Erhart": "berhart@netzarchitekten.com"
15   },
16   "source": {
17     "http": "https://github.com/iCepa/Tor.framework/releases/download/v406.8.2/Tor.framework.zip",
18     "flatten": true
19   },
20   "platforms": {
21     "ios": "9.0",
22     "osx": "10.9"
23   },
24   "module_name": "Tor",
25   "prepare_command": "touch geoip\ntouch geoip6",
26   "default_subspecs": "Core",
27   "subspecs": [
28     {
29       "name": "Core",
30       "requires_arc": true,
31       "ios": {
32         "vendored_frameworks": "Build/iOS/Tor.framework"
33       },
34       "osx": {
35         "vendored_frameworks": "Build/Mac/Tor.framework"
36       },
37       "preserve_paths": "**/*.bcsymbolmap"
38     },
39     {
40       "name": "GeoIP",
41       "dependencies": {
42         "Tor/Core": [
44         ]
45       },
46       "script_phases": {
47         "name": "Load GeoIP files",
48         "execution_position": "before_compile",
49         "script": "      if [ ! -f \"$PODS_TARGET_SRCROOT/geoip\" ] ||           test `find \"$PODS_TARGET_SRCROOT\" -name geoip -empty` ||           test `find \"$PODS_TARGET_SRCROOT\" -name geoip -mtime +1`\n      then\n        curl -Lo \"$PODS_TARGET_SRCROOT/geoip\" https://gitweb.torproject.org/tor.git/plain/src/config/geoip?h=tor-0.4.6.8\n      fi\n\n      if [ ! -f \"$PODS_TARGET_SRCROOT/geoip6\" ] ||           test `find \"$PODS_TARGET_SRCROOT\" -name geoip6 -empty` ||           test `find \"$PODS_TARGET_SRCROOT\" -name geoip6 -mtime +1`\n      then\n        curl -Lo \"$PODS_TARGET_SRCROOT/geoip6\" https://gitweb.torproject.org/tor.git/plain/src/config/geoip6?h=tor-0.4.6.8\n      fi\n"
50       },
51       "resource_bundles": {
52         "GeoIP": [
53           "geoip",
54           "geoip6"
55         ]
56       }
57     }
58   ]