void-packages/srcpkgs/poco/template

27 lines
731 B
Bash

# Template build file for 'poco'.
pkgname=poco
version=1.7.8p2
revision=1
build_style=cmake
short_desc="C++ class libraries for building network-based applications"
maintainer="Julien Dehos <dehos@univ-littoral.fr>"
license="Boost Software License 1.0"
homepage="https://pocoproject.org"
distfiles="https://pocoproject.org/releases/${pkgname}-${version%p*}/${pkgname}-${version}-all.tar.gz"
checksum=4e4d0de6fbdb1016cd68f85c32d7260e950c93aa453686a3141ea3f9ca6f409a
wrksrc="${pkgname}-${version}-all"
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
}
}