summaryrefslogtreecommitdiff
path: root/homebrew/tinyxml
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/tinyxml')
-rw-r--r--homebrew/tinyxml/.beer36
-rw-r--r--homebrew/tinyxml/.make.sh-auto4
-rw-r--r--homebrew/tinyxml/_metadata/description1
-rw-r--r--homebrew/tinyxml/_metadata/homepage1
-rw-r--r--homebrew/tinyxml/_metadata/name1
-rw-r--r--homebrew/tinyxml/_metadata/version1
-rwxr-xr-xhomebrew/tinyxml/download.sh1
-rwxr-xr-xhomebrew/tinyxml/patches.sh3
8 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/tinyxml/.beer b/homebrew/tinyxml/.beer
new file mode 100644
index 000000000..46e1113b5
--- /dev/null
+++ b/homebrew/tinyxml/.beer
@@ -0,0 +1,36 @@
+{
+ "name": "Tinyxml",
+ "description": "XML parser",
+ "url": "https://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.grinninglizard.com/tinyxml/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/robotology/yarp/master/extern/tinyxml/patches/enforce-use-stl.patch",
+ "strip": "1"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/robotology/yarp/master/extern/tinyxml/patches/entity-encoding.patch",
+ "strip": "1"
+ },
+ {
+ "url": "https://gist.githubusercontent.com/scpeters/6325123/raw/cfb079be67997cb19a1aee60449714a1dedefed5/tinyxml_CMakeLists.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\", \"install\"",
+ "(lib+\"pkgconfig/tinyxml.pc\").write pc_file"
+ ],
+ "version": "2_6_2",
+ "file": "tinyxml.rb"
+} \ No newline at end of file
diff --git a/homebrew/tinyxml/.make.sh-auto b/homebrew/tinyxml/.make.sh-auto
new file mode 100644
index 000000000..16d6bed33
--- /dev/null
+++ b/homebrew/tinyxml/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
+(lib+"pkgconfig/tinyxml.pc").write pc_file
diff --git a/homebrew/tinyxml/_metadata/description b/homebrew/tinyxml/_metadata/description
new file mode 100644
index 000000000..a25da582c
--- /dev/null
+++ b/homebrew/tinyxml/_metadata/description
@@ -0,0 +1 @@
+XML parser
diff --git a/homebrew/tinyxml/_metadata/homepage b/homebrew/tinyxml/_metadata/homepage
new file mode 100644
index 000000000..656874c1a
--- /dev/null
+++ b/homebrew/tinyxml/_metadata/homepage
@@ -0,0 +1 @@
+http://www.grinninglizard.com/tinyxml/
diff --git a/homebrew/tinyxml/_metadata/name b/homebrew/tinyxml/_metadata/name
new file mode 100644
index 000000000..d503e8874
--- /dev/null
+++ b/homebrew/tinyxml/_metadata/name
@@ -0,0 +1 @@
+Tinyxml
diff --git a/homebrew/tinyxml/_metadata/version b/homebrew/tinyxml/_metadata/version
new file mode 100644
index 000000000..7a6091c2c
--- /dev/null
+++ b/homebrew/tinyxml/_metadata/version
@@ -0,0 +1 @@
+2_6_2
diff --git a/homebrew/tinyxml/download.sh b/homebrew/tinyxml/download.sh
new file mode 100755
index 000000000..c2c26e49a
--- /dev/null
+++ b/homebrew/tinyxml/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz \ No newline at end of file
diff --git a/homebrew/tinyxml/patches.sh b/homebrew/tinyxml/patches.sh
new file mode 100755
index 000000000..0c3ce878a
--- /dev/null
+++ b/homebrew/tinyxml/patches.sh
@@ -0,0 +1,3 @@
+wget https://raw.githubusercontent.com/robotology/yarp/master/extern/tinyxml/patches/enforce-use-stl.patch
+wget https://raw.githubusercontent.com/robotology/yarp/master/extern/tinyxml/patches/entity-encoding.patch
+wget https://gist.githubusercontent.com/scpeters/6325123/raw/cfb079be67997cb19a1aee60449714a1dedefed5/tinyxml_CMakeLists.patch