void-packages/srcpkgs/poco/template

27 lines
700 B
Bash

# Template file for 'poco'
pkgname=poco
version=1.9.0
revision=1
wrksrc="${pkgname}-${version}-all"
build_style=cmake
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
}
}