# Template file for 'tinyxml2'
pkgname=tinyxml2
version=7.0.1
revision=1
build_style=cmake
short_desc="Simple, small and efficient C++ XML parser"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Zlib"
homepage="http://www.grinninglizard.com/tinyxml2/index.html"
distfiles="https://github.com/leethomason/tinyxml2/archive/${version}.tar.gz"
checksum=a381729e32b6c2916a23544c04f342682d38b3f6e6c0cad3c25e900c3a7ef1a6

tinyxml2-devel_package() {
	depends="tinyxml2-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
