27 lines
728 B
Bash
27 lines
728 B
Bash
# Template build file for 'poco'.
|
|
pkgname=poco
|
|
version=1.8.0.1
|
|
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}/${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
|
|
}
|
|
}
|