mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=poco
|
|
pkgver=1.12.4
|
|
pkgrel=0
|
|
pkgdesc="C++ class libraries for building network- and internet-based applications"
|
|
url="https://pocoproject.org/"
|
|
arch="all"
|
|
license="BSL-1.0"
|
|
depends_dev="
|
|
expat-dev
|
|
libpq-dev
|
|
mariadb-connector-c-dev
|
|
openssl-dev
|
|
pcre2-dev
|
|
sqlite-dev
|
|
unixodbc-dev
|
|
zlib-dev
|
|
"
|
|
makedepends="
|
|
$depends_dev
|
|
chrpath
|
|
cmake
|
|
linux-headers
|
|
samurai
|
|
"
|
|
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 -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DPOCO_UNBUNDLED=ON
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
010b0c043b1249bf2af3e0916122dc2149360f9137a759d3fa29eb5c6370c6a44ed761019c325bca38e120f6e72810538bb6cd3a64cc2f1c93d1534cf4a9b89a poco-1.12.4-all.tar.gz
|
|
fd1fb85cc3ee7d3ffa13871b4dc47ce737277cbd2236b92cb12176d84aee5e754674828061f4a6ab92eed23918cdf3ab8f2d51f3276211cda77c9587c08985cf cxxflags.patch
|
|
"
|