blob: 38431814e3e028c7140fb4ee88d0bf7ba65ded5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=poco
pkgver=1.9.4
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="fd395ef94bd0fb625fb6f1be58f90db9ba17e09ef01d92c4bc20be913fa0923ccb12735c9ff2c84f4cf6553ecba1b25374eac9a97c7888f3f53c23d02cae8b07 poco-1.9.4-all.tar.gz
5f72e487074ea26e29e81d6fc244d03989d780d71b33a064456fa19b241aca278fbfd9b303733940b837921ea25781ee62905d70a5f1c57f1b24cd38a2a7d720 cxxflags.patch"
|