aboutsummaryrefslogtreecommitdiffstats
path: root/community/poco/APKBUILD
blob: dc88d14e6a6057ab68d62e39dbd627bee189773a (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=poco
pkgver=1.11.0
pkgrel=1
pkgdesc="C++ class libraries for building network- and internet-based applications"
url="https://pocoproject.org/"
arch="all !mips !mips64" # fails to build on soft-float
license="BSL-1.0"
makedepends="cmake chrpath openssl1.1-compat-dev linux-headers zlib-dev pcre-dev expat-dev sqlite-dev mariadb-connector-c-dev unixodbc-dev libpq-dev"
source="https://pocoproject.org/releases/poco-$pkgver/poco-$pkgver-all.tar.gz
	cxxflags.patch
	"
subpackages="$pkgname-dev"
options="!check" # No testsuite

builddir="$srcdir/$pkgname-$pkgver-all"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
03ff32a255a95769116b018eb86c09905cbc957acacf77be9dfd509fe6c86661a7a60aa2b09e5c1af43417a4a0632e7a24a193e166a1f5d1d3810e60bffb354c  poco-1.11.0-all.tar.gz
fd1fb85cc3ee7d3ffa13871b4dc47ce737277cbd2236b92cb12176d84aee5e754674828061f4a6ab92eed23918cdf3ab8f2d51f3276211cda77c9587c08985cf  cxxflags.patch
"