void-packages/srcpkgs/poco/template
2018-09-02 15:16:54 -03:00

26 lines
702 B
Bash

# Template file for 'poco'
pkgname=poco
version=1.8.0.1
revision=2
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=cb891540b44b74e844fd0787c796f2699a894dba690329660e29b57efb8f80dd
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
}
}