package/tinyxml2: new package

Required for upcoming kodi-pvr-dvblink package:
https://github.com/kodi-pvr/pvr.dvblink/blob/master/CMakeLists.txt#L11

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls
2015-04-01 20:35:55 +02:00
committed by Thomas Petazzoni
parent 0ac0a81272
commit 7e5a97eb96
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_TINYXML2
bool "tinyxml2"
depends on BR2_INSTALL_LIBSTDCPP
help
TinyXML-2 is a simple, small, efficient, C++ XML parser that can be
easily integrating into other programs.
http://www.grinninglizard.com/tinyxml2/index.html
comment "tinyxml2 needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,13 @@
################################################################################
#
# tinyxml2
#
################################################################################
TINYXML2_VERSION = 2.2.0
TINYXML2_SITE = $(call github,leethomason,tinyxml2,$(TINYXML2_VERSION))
TINYXML2_LICENSE = zlib
TINYXML2_LICENSE_FILES = readme.md
TINYXML2_INSTALL_STAGING = YES
$(eval $(cmake-package))