29 lines
813 B
Bash
29 lines
813 B
Bash
# Template file for 'poco'
|
|
pkgname=poco
|
|
version=1.9.4
|
|
revision=2
|
|
wrksrc="${pkgname}-${version}-all"
|
|
build_style=cmake
|
|
configure_args="-DPOCO_UNBUNDLED=ON"
|
|
makedepends="libressl-devel zlib-devel pcre-devel expat-devel sqlite-devel"
|
|
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=eb34f257b11240a711ee505f1d80c754a80a990aeb48d8d93407884df288fd77
|
|
|
|
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
|
|
}
|
|
}
|