void-packages/srcpkgs/tinyxml2/template

23 lines
640 B
Bash

# Template file for 'tinyxml2'
pkgname=tinyxml2
version=7.1.0
revision=1
build_style=cmake
short_desc="Simple, small and efficient C++ XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Zlib"
homepage="http://www.grinninglizard.com/tinyxml2/index.html"
distfiles="https://github.com/leethomason/tinyxml2/archive/${version}.tar.gz"
checksum=68ebd396a4220d5a9b5a621c6e9c66349c5cfdf5efaea3f16e3bb92e45f4e2a3
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"
}
}