tinyxml: new package
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sun, 19 Jan 2014 21:04:03 +0000 (22:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 22 Jan 2014 23:48:47 +0000 (00:48 +0100)
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>
package/Config.in
package/tinyxml/Config.in [new file with mode: 0644]
package/tinyxml/tinyxml.mk [new file with mode: 0644]

index 3bf3434663d614517922a5d727685c0f6ed2f784..397cc11d1bc522c4334f2ade641bd3949d5c7f60 100644 (file)
@@ -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 (file)
index 0000000..061ff67
--- /dev/null
@@ -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 (file)
index 0000000..df7b29f
--- /dev/null
@@ -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))