[Add] ZJSDK 2.5.4.14
[CocoaPods.git] / Specs / c / b / 1 / Tor / 407.10.2 / Tor.podspec.json
blob82653ff80eb34f2d310dd74b9d4c9e788c096d03
2   "name": "Tor",
3   "version": "407.10.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     "file": "LICENSE"
10   },
11   "authors": {
12     "Conrad Kramer": "conrad@conradkramer.com",
13     "Chris Ballinger": "chris@chatsecure.org",
14     "Mike Tigas": "mike@tig.as",
15     "Benjamin Erhart": "berhart@netzarchitekten.com"
16   },
17   "source": {
18     "git": "https://github.com/iCepa/Tor.framework.git",
19     "branch": "pure_pod",
20     "tag": "v407.10.2",
21     "submodules": true
22   },
23   "social_media_url": "https://twitter.com/tladesignz",
24   "platforms": {
25     "ios": "9.0",
26     "osx": "10.9"
27   },
28   "prepare_command": "touch 'geoip'\ntouch 'geoip6'",
29   "default_subspecs": "Core",
30   "subspecs": [
31     {
32       "name": "Core",
33       "pod_target_xcconfig": {
34         "HEADER_SEARCH_PATHS": "$(inherited) \"${PODS_TARGET_SRCROOT}/Tor/tor\" \"${PODS_TARGET_SRCROOT}/Tor/tor/src\" \"${PODS_TARGET_SRCROOT}/Tor/openssl/include\" \"${BUILT_PRODUCTS_DIR}/openssl\" \"${PODS_TARGET_SRCROOT}/Tor/libevent/include\"",
35         "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor\" -l\"z\" -l\"lzma\" -l\"crypto\" -l\"ssl\" -l\"event_core\" -l\"event_extra\" -l\"event_pthreads\" -l\"event\" -l\"tor\""
36       },
37       "ios": {
38         "pod_target_xcconfig": {
39           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-iOS\""
40         }
41       },
42       "osx": {
43         "pod_target_xcconfig": {
44           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-macOS\""
45         }
46       },
47       "script_phases": [
48         {
49           "name": "Build XZ",
50           "execution_position": "before_compile",
51           "output_files": [
52             "dummy-always-execute-this-but-supress warning-1"
53           ],
54           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/xz\"\n../xz.sh\n"
55         },
56         {
57           "name": "Build OpenSSL",
58           "execution_position": "before_compile",
59           "output_files": [
60             "dummy-always-execute-this-but-supress warning-2"
61           ],
62           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/openssl\"\n../openssl.sh\n"
63         },
64         {
65           "name": "Build libevent",
66           "execution_position": "before_compile",
67           "output_files": [
68             "dummy-always-execute-this-but-supress warning-3"
69           ],
70           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/libevent\"\n../libevent.sh\n"
71         },
72         {
73           "name": "Build Tor",
74           "execution_position": "before_compile",
75           "output_files": [
76             "dummy-always-execute-this-but-supress warning-4"
77           ],
78           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/tor\"\n../tor.sh\n"
79         }
80       ],
81       "requires_arc": true,
82       "source_files": "Tor/Classes/**/*",
83       "preserve_paths": [
84         "Tor/include",
85         "Tor/libevent",
86         "Tor/libevent.sh",
87         "Tor/openssl",
88         "Tor/openssl.sh",
89         "Tor/tor",
90         "Tor/tor.sh",
91         "Tor/xz",
92         "Tor/xz.sh"
93       ]
94     },
95     {
96       "name": "GeoIP",
97       "dependencies": {
98         "Tor/Core": [
100         ]
101       },
102       "script_phases": {
103         "name": "Load GeoIP files",
104         "execution_position": "before_compile",
105         "output_files": [
106           "dummy-always-execute-this-but-supress warning"
107         ],
108         "script": "cd \"${PODS_TARGET_SRCROOT}\"\nif [ ! -f geoip ] || [ `find . -name geoip -empty -maxdepth 1` ] || [ `find . -name geoip -mtime +1 -maxdepth 1` ]\nthen\n  curl -Lo 'geoip' 'https://gitweb.torproject.org/tor.git/plain/src/config/geoip?h=tor-0.4.7.10'\nfi\n\nif [ ! -f geoip6 ] || [ `find . -name geoip6 -empty -maxdepth 1` ] || [ `find . -name geoip6 -mtime +1 -maxdepth 1` ]\nthen\n  curl -Lo 'geoip6' 'https://gitweb.torproject.org/tor.git/plain/src/config/geoip6?h=tor-0.4.7.10'\nfi\n"
109       },
110       "resource_bundles": {
111         "GeoIP": [
112           "geoip",
113           "geoip6"
114         ]
115       }
116     }
117   ]