void-packages/srcpkgs/poco/template
2017-11-06 12:05:53 +01:00

26 lines
731 B
Bash

# Template build file for 'poco'.
pkgname=poco
version=1.7.8p3
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=8eb1a77dc7ad76757528884358c16b22c458f1fde82e17851cbd2e2338b4e6e4
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
}
}