void-packages/srcpkgs/poco/template

29 lines
809 B
Bash

# Template file for 'poco'
pkgname=poco
version=1.12.4
revision=2
build_style=cmake
configure_args="-DPOCO_UNBUNDLED=ON"
makedepends="openssl-devel zlib-devel pcre2-devel expat-devel sqlite-devel"
short_desc="C++ class libraries for building network-based applications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSL-1.0"
homepage="https://pocoproject.org"
distfiles="https://pocoproject.org/releases/${pkgname}-${version}/${pkgname}-${version}-all.tar.gz"
checksum=4c3584daa5b0e973f268654dbeb1171ec7621e358b2b64363cd1abd558a68777
conflicts="archiver"
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
}
}