update
This commit is contained in:
@@ -1,14 +1,29 @@
|
||||
# This podspec is not being used instead the hard coded path to local LibEvent is used.
|
||||
# TODO use this spec instead of hard coded path `/usr/local/include`
|
||||
Pod::Spec.new do |spec|
|
||||
spec.name = 'LibEvent'
|
||||
spec.version = '2.1.8'
|
||||
spec.license = { :file => 'LICENSE'}
|
||||
spec.homepage = 'https://github.com/rsocket/rsocket-cpp'
|
||||
spec.summary = 'LibEvent'
|
||||
spec.authors = 'LibEvent'
|
||||
spec.source = { :git => 'https://github.com/libevent/libevent.git', :tag => "release-2.1.8-stable"}
|
||||
spec.module_name = 'LibEvent'
|
||||
spec.source_files = '**/*.h'
|
||||
spec.platforms = { :ios => "8.0", :tvos => "9.2" }
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = "libevent"
|
||||
s.version = "1.0"
|
||||
s.summary = "Unofficial libevent mirror for Cocoapods"
|
||||
|
||||
s.description = <<-DESC
|
||||
This is a binary distribution of the libevent library built for iOS.
|
||||
The library uses configure which makes it a bit tricky to cross compile.
|
||||
DESC
|
||||
|
||||
s.homepage = "http://libevent.org/"
|
||||
s.license = "BSD"
|
||||
s.authors = { "liguangming" => "cute@liguangming.com" }
|
||||
s.social_media_url = "http://twitter.com/liguangming"
|
||||
s.ios.deployment_target = "6.0"
|
||||
s.source = { :git => "https://github.com/cute/libevent.git", :tag => "1.0" }
|
||||
s.header_dir = "event2"
|
||||
s.source_files = "include/**/*.h"
|
||||
s.ios.library = "event"
|
||||
s.preserve_paths = "include", "lib"
|
||||
s.requires_arc = false
|
||||
s.xcconfig = {
|
||||
"HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/include",
|
||||
"HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/include/event2",
|
||||
"LIBRARY_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/lib",
|
||||
}
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user