29 lines
770 B
Bash
29 lines
770 B
Bash
# Template file for 'pugixml'
|
|
pkgname=pugixml
|
|
version=1.11.4
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=On"
|
|
short_desc="Light-weight, simple and fast XML parser for C++ with XPath support"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://pugixml.org/"
|
|
distfiles="http://github.com/zeux/pugixml/releases/download/v${version}/pugixml-${version}.tar.gz"
|
|
checksum=8ddf57b65fb860416979a3f0640c2ad45ddddbbafa82508ef0a0af3ce7061716
|
|
|
|
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
|
|
}
|
|
}
|