summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2014-01-19 21:04:03 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-01-22 23:48:47 (GMT)
commit7677a7542e37b8cc497038dd00046e29b75980fc (patch)
treeaa0f29f8b1343f8017007caaf15dd3b78247c1aa
parentac37a9b42f821ad9f72123b3ab411382b3aafcf8 (diff)
downloadbuildroot-7677a7542e37b8cc497038dd00046e29b75980fc.tar.gz
buildroot-7677a7542e37b8cc497038dd00046e29b75980fc.tar.bz2
tinyxml: new package
Tiny XML Parser. This package was originally found at : https://github.com/huceke/buildroot-rbp By gimli <ebsi4711@gmail.com> [Peter: add _LICENSE_FILES] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: gimli <ebsi4711@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/tinyxml/Config.in11
-rw-r--r--package/tinyxml/tinyxml.mk16
3 files changed, 28 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 3bf3434..397cc11 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -624,6 +624,7 @@ source "package/libxslt/Config.in"
source "package/libyaml/Config.in"
source "package/mxml/Config.in"
source "package/rapidjson/Config.in"
+source "package/tinyxml/Config.in"
source "package/xerces/Config.in"
source "package/yajl/Config.in"
endmenu
diff --git a/package/tinyxml/Config.in b/package/tinyxml/Config.in
new file mode 100644
index 0000000..061ff67
--- /dev/null
+++ b/package/tinyxml/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TINYXML
+ bool "tinyxml"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ TinyXML is a simple, small, C++ XML parser that can be
+ easily integrating into other programs.
+
+ https://github.com/leethomason/tinyxml2
+
+comment "tinyxml needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/tinyxml/tinyxml.mk b/package/tinyxml/tinyxml.mk
new file mode 100644
index 0000000..df7b29f
--- /dev/null
+++ b/package/tinyxml/tinyxml.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# tinyxml
+#
+################################################################################
+
+TINYXML_VERSION = 2.6.2_2
+TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources
+# AUTORECONF is needed because the XBMC's version of TinyXML contains a
+# configure.ac which is not present in mainline.
+TINYXML_AUTORECONF = YES
+TINYXML_INSTALL_STAGING = YES
+TINYXML_LICENSE = zlib
+TINYXML_LICENSE_FILES = README
+
+$(eval $(autotools-package))