forked from probablycorey/wax
-
Notifications
You must be signed in to change notification settings - Fork 280
/
wax.podspec
40 lines (26 loc) · 1.62 KB
/
wax.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Pod::Spec.new do |s|
s.name = "wax"
s.version = "1.2.1"
s.summary = "wax Source"
s.description = <<-DESC
Wax is a framework that lets you write native iPhone apps in Lua. It bridges Objective-C and Lua using the Objective-C runtime. With Wax, anything you can do in Objective-C is automatically available in Lua! What are you waiting for, give it a shot!
DESC
s.homepage = "https://github.com/alibaba/wax"
s.license = {
:type => 'Copyright',
:text => <<-LICENSE
MIT License
LICENSE
}
s.author = { "probablycorey" => "[email protected]" }
s.source = { :git => 'https://github.com/alibaba/wax.git', :tag => s.version.to_s}
s.platform = :ios
# When using multiple platforms
s.ios.deployment_target = '4.3'
s.source_files = 'lib/*.{h,m}', 'lib/adaptation/*.{h,m}','lib/lua/*.{h,m,c}', 'lib/extensions/block/*.{h,m}', 'lib/extensions/capi/**/*.{h,m,c}', 'lib/extensions/CGAffine/*.{h,m}','lib/extensions/CGContext/*.{h,m}','lib/extensions/filesystem/*.{h,m}' ,'lib/extensions/HTTP/*.{h,m}','lib/extensions/ivar/*.{h,m}','lib/extensions/json/**/**/*.{h,m,c}','lib/extensions/memory/*.{h,m,c}','lib/extensions/SQLite/**/*.{h,m}','lib/extensions/xml/**/*.{h,m}'
s.public_header_files = 'lib/wax.h','lib/lua/lua.h','lib/lua/luaconf.h','lib/extensions/HTTP/wax_http.h','lib/extensions/json/wax_json.h','lib/extensions/filesystem/wax_filesystem.h'
s.library = "xml2","sqlite3"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '${SDK_DIR}/usr/include/libxml2' }
s.requires_arc = false
s.module_name = 'wax'
end