vp-build/srcpkgs/tinyxml2/template

24 lines
685 B
Bash

# Template file for 'tinyxml2'
pkgname=tinyxml2
version=9.0.0
revision=1
build_style=cmake
configure_args="-Dtinyxml2_SHARED_LIBS=true"
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=cc2f1417c308b1f6acc54f88eb70771a0bf65f76282ce5c40e54cfe52952702c
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"
}
}