forked from myeyesareblind/GDataXML-HTML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GDataXML-HTML.podspec
31 lines (30 loc) · 1.17 KB
/
GDataXML-HTML.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
# coding: utf-8
Pod::Spec.new do |s|
s.name = "GDataXML-HTML"
s.version = "1.3.0"
s.summary = "An XML/HTML Parser for iOS and OSX, based on Google's GDataXML."
s.description = <<-DESC
GDataXML implements parts of NSXML so it's easy to parse XML or HTML with a DOM style API including
XPath support.
This fork of the original GDataXML adds support for the HTMLparser module of
libxml2 and allows you to deal with non validating XML in a simple way.
DESC
s.homepage = "https://github.com/graetzer/GDataXML-HTML"
s.license = "Apache License, Version 2.0"
s.author = { "Simon Grätzer" => "[email protected]" }
s.source = { :git => "https://github.com/graetzer/GDataXML-HTML.git", :tag => s.version.to_s }
s.source_files = "Pod/Classes"
s.library = "xml2"
s.requires_arc = true
s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2 $(PODS_ROOT)/GDataXML-HTML/libxml" }
s.module_map = 'libxml.modulemap'
s.prepare_command = <<-CMD
cat > "libxml.modulemap" << MAP
module libxml [system] {
header "$(SDKROOT)/usr/include/libxml2/libxml/tree.h"
link "libxml"
export *
}
MAP
CMD
end