void-packages/srcpkgs/pugixml/template

29 lines
787 B
Bash

# Template file for 'pugixml'
pkgname=pugixml
version=1.9
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=On -DBUILD_PKGCONFIG=On"
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=d156d35b83f680e40fd6412c4455fdd03544339779134617b9b28d19e11fdba6
post_install() {
tail -22 readme.txt > LICENSE
vlicense LICENSE
}
pugixml-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}