# Contributor: Leonardo Arena # Maintainer: pkgname=poco pkgver=1.10.1 pkgrel=0 pkgdesc="C++ class libraries for building network- and internet-based applications" options="!check" # No testsuite url="https://pocoproject.org/" arch="all" license="BSL-1.0" makedepends="openssl-dev linux-headers zlib-dev pcre-dev expat-dev sqlite-dev" subpackages="$pkgname-dev" source="https://pocoproject.org/releases/poco-$pkgver/poco-$pkgver-all.tar.gz cxxflags.patch " builddir="$srcdir"/$pkgname-$pkgver-all build() { ./configure --config=Linux \ --prefix=/usr \ --minimal \ --shared \ --no-tests \ --no-samples \ --unbundled make } package() { make DESTDIR="$pkgdir" install _basedir="$pkgdir"/usr/include/Poco for dir in Net Crypto; do test -d "$_basedir"/$dir || mkdir "$_basedir"/$dir done cp NetSSL_OpenSSL/include/Poco/Net/*.h "$_basedir"/Net cp Crypto/include/Poco/Crypto/*.h "$_basedir"/Crypto } sha512sums="858a37c49563fa602a5e4783438154a3e1e6c91f8a3adcae62c3d922eccd30b8ba273b2c2b16b5f80c1deb80eb350056e6923a2788ec2e17a595a44d4f97f30d poco-1.10.1-all.tar.gz 5f72e487074ea26e29e81d6fc244d03989d780d71b33a064456fa19b241aca278fbfd9b303733940b837921ea25781ee62905d70a5f1c57f1b24cd38a2a7d720 cxxflags.patch"