void-packages/srcpkgs/poco/template

29 lines
827 B
Bash

# Template file for 'poco'
pkgname=poco
version=1.9.4
revision=3
wrksrc="${pkgname}-${version}-all"
build_style=cmake
configure_args="-DPOCO_UNBUNDLED=ON"
makedepends="openssl-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=eb34f257b11240a711ee505f1d80c754a80a990aeb48d8d93407884df288fd77
post_install() {
vlicense LICENSE
}
poco-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}