78 lines
3.4 KiB
Ruby
78 lines
3.4 KiB
Ruby
#
|
|
# Be sure to run `pod spec lint BiSON.podspec' to ensure this is a
|
|
# valid spec and to remove all comments including this before submitting the spec.
|
|
#
|
|
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
|
|
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
|
|
#
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
|
|
|
s.name = "BiSON"
|
|
s.version = "1.2.5"
|
|
s.summary = "A portable BSON C library"
|
|
|
|
|
|
s.homepage = "https://github.com/smartdevicelink/bson_c_lib"
|
|
|
|
|
|
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
|
#
|
|
# Licensing your code is important. See http://choosealicense.com for more info.
|
|
# CocoaPods will detect a license file if there is a named LICENSE*
|
|
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
|
|
#
|
|
|
|
s.license = { :type => "New BSD", :file => "LICENSE" }
|
|
s.preserve_path = 'src/emhashmap/LICENSE'
|
|
|
|
|
|
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
|
#
|
|
# Specify the authors of the library, with email addresses. Email addresses
|
|
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
|
|
# accepts just a name if you'd rather not provide an email address.
|
|
#
|
|
# Specify a social_media_url where others can refer to, for example a twitter
|
|
# profile URL.
|
|
#
|
|
|
|
s.author = { "SmartDeviceLink Team" => "developer@smartdevicelink.com" }
|
|
|
|
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
|
#
|
|
# If this Pod runs only on iOS or OS X, then specify the platform and
|
|
# the deployment target. You can optionally include the target after the platform.
|
|
#
|
|
|
|
# When using multiple platforms
|
|
s.ios.deployment_target = "9.0"
|
|
s.osx.deployment_target = "10.7"
|
|
s.watchos.deployment_target = "2.0"
|
|
s.tvos.deployment_target = "9.0"
|
|
|
|
|
|
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
|
#
|
|
# Specify the location from where the source should be retrieved.
|
|
# Supports git, hg, bzr, svn and HTTP.
|
|
#
|
|
|
|
s.source = { :git => "https://github.com/smartdevicelink/bson_c_lib.git", :tag => s.version.to_s }
|
|
|
|
|
|
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
|
#
|
|
# CocoaPods is smart about how it includes source code. For source files
|
|
# giving a folder will include any swift, h, m, mm, c & cpp files.
|
|
# For header files it will include any header in the folder.
|
|
# Not including the public_header_files will make all headers public.
|
|
#
|
|
|
|
s.source_files = "src/*.{h,c}", "src/emhashmap/*.{h,c}"
|
|
s.header_mappings_dir = 'src'
|
|
|
|
end
|