[Add] ZJSDK 2.5.7.5
[CocoaPods.git] / Specs / c / b / 1 / Tor / 408.9.1 / Tor.podspec.json
blob8f6d1d840eaa7363173a248b4d47cd3cedbd569d
2   "name": "Tor",
3   "version": "408.9.1",
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": "v408.9.1",
21     "submodules": true
22   },
23   "social_media_url": "https://twitter.com/tladesignz",
24   "platforms": {
25     "ios": "12.0",
26     "osx": "10.13"
27   },
28   "default_subspecs": "CTor",
29   "subspecs": [
30     {
31       "name": "Core",
32       "requires_arc": true,
33       "source_files": "Tor/Classes/Core/**/*"
34     },
35     {
36       "name": "CTor",
37       "dependencies": {
38         "Tor/Core": [
40         ]
41       },
42       "source_files": "Tor/Classes/CTor/**/*",
43       "pod_target_xcconfig": {
44         "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\"",
45         "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\""
46       },
47       "ios": {
48         "pod_target_xcconfig": {
49           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-iOS\""
50         }
51       },
52       "osx": {
53         "pod_target_xcconfig": {
54           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-macOS\""
55         }
56       },
57       "script_phases": [
58         {
59           "name": "Build LZMA",
60           "execution_position": "before_compile",
61           "output_files": [
62             "lzma-always-execute-this-but-supress-warning"
63           ],
64           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/xz\"\n../xz.sh\n"
65         },
66         {
67           "name": "Build OpenSSL",
68           "execution_position": "before_compile",
69           "output_files": [
70             "openssl-always-execute-this-but-supress-warning"
71           ],
72           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/openssl\"\n../openssl.sh\n"
73         },
74         {
75           "name": "Build libevent",
76           "execution_position": "before_compile",
77           "output_files": [
78             "libevent-always-execute-this-but-supress-warning"
79           ],
80           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/libevent\"\n../libevent.sh\n"
81         },
82         {
83           "name": "Build Tor",
84           "execution_position": "before_compile",
85           "output_files": [
86             "tor-always-execute-this-but-supress-warning"
87           ],
88           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/tor\"\n../tor.sh\n"
89         }
90       ],
91       "preserve_paths": [
92         "Tor/include",
93         "Tor/libevent",
94         "Tor/libevent.sh",
95         "Tor/openssl",
96         "Tor/openssl.sh",
97         "Tor/tor",
98         "Tor/tor.sh",
99         "Tor/xz",
100         "Tor/xz.sh"
101       ]
102     },
103     {
104       "name": "CTor-NoLZMA",
105       "dependencies": {
106         "Tor/Core": [
108         ]
109       },
110       "source_files": "Tor/Classes/CTor/**/*",
111       "pod_target_xcconfig": {
112         "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\"",
113         "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor\" -l\"z\" -l\"crypto\" -l\"ssl\" -l\"event_core\" -l\"event_extra\" -l\"event_pthreads\" -l\"event\" -l\"tor\""
114       },
115       "ios": {
116         "pod_target_xcconfig": {
117           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-iOS\""
118         }
119       },
120       "osx": {
121         "pod_target_xcconfig": {
122           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-macOS\""
123         }
124       },
125       "script_phases": [
126         {
127           "name": "Build OpenSSL",
128           "execution_position": "before_compile",
129           "output_files": [
130             "openssl-always-execute-this-but-supress-warning"
131           ],
132           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/openssl\"\n../openssl.sh\n"
133         },
134         {
135           "name": "Build libevent",
136           "execution_position": "before_compile",
137           "output_files": [
138             "libevent-always-execute-this-but-supress-warning"
139           ],
140           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/libevent\"\n../libevent.sh\n"
141         },
142         {
143           "name": "Build Tor",
144           "execution_position": "before_compile",
145           "output_files": [
146             "tor-always-execute-this-but-supress-warning"
147           ],
148           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/tor\"\n../tor.sh --no-lzma\n"
149         }
150       ],
151       "preserve_paths": [
152         "Tor/include",
153         "Tor/libevent",
154         "Tor/libevent.sh",
155         "Tor/openssl",
156         "Tor/openssl.sh",
157         "Tor/tor",
158         "Tor/tor.sh"
159       ]
160     },
161     {
162       "name": "GeoIP",
163       "dependencies": {
164         "Tor/CTor": [
166         ]
167       },
168       "resource_bundles": {
169         "GeoIP": [
170           "Tor/tor/src/config/geoip",
171           "Tor/tor/src/config/geoip6"
172         ]
173       }
174     },
175     {
176       "name": "GeoIP-NoLZMA",
177       "dependencies": {
178         "Tor/CTor-NoLZMA": [
180         ]
181       },
182       "resource_bundles": {
183         "GeoIP": [
184           "Tor/tor/src/config/geoip",
185           "Tor/tor/src/config/geoip6"
186         ]
187       }
188     }
189   ]