void-packages/srcpkgs/pugixml/template

24 lines
694 B
Bash

# Template file for 'pugixml'
pkgname=pugixml
version=1.7
revision=1
build_style=cmake
hostmakedepends="cmake"
short_desc="Light-weight, simple and fast XML parser for C++ with XPath support"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="http://pugixml.org/"
distfiles="http://github.com/zeux/pugixml/releases/download/v${version}/pugixml-$version.tar.gz"
checksum=fbe10d46f61d769f7d92a296102e4e2bd3ee16130f11c5b10a1aae590ea1f5ca
configure_args="-DBUILD_SHARED_LIBS=On"
build_wrksrc="scripts"
pugixml-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}