void-packages/srcpkgs/poco/template

29 lines
813 B
Bash

# Template file for 'poco'
pkgname=poco
version=1.9.0
revision=2
wrksrc="${pkgname}-${version}-all"
build_style=cmake
configure_args="-DPOCO_UNBUNDLED=ON"
makedepends="libressl-devel zlib-devel pcre-devel expat-devel sqlite-devel"
short_desc="C++ class libraries for building network-based applications"
maintainer="Julien Dehos <dehos@univ-littoral.fr>"
license="BSL-1.0"
homepage="https://pocoproject.org"
distfiles="https://pocoproject.org/releases/${pkgname}-${version}/${pkgname}-${version}-all.tar.gz"
checksum=0387bf0f9d313e2311742e1ad0b64e07f2f3e76039eed20e3b9aa9951b88e187
post_install() {
vlicense LICENSE
}
poco-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}