# Contributor: Gennady Feldman # Maintainer: Gennady Feldman pkgname=cassandra-cpp-driver _pkgname=cpp-driver pkgver=2.10.0 pkgrel=0 pkgdesc="Cassandra CPP Driver" url="https://datastax.github.io/cpp-driver/" arch="aarch64 x86_64 x86 ppc64le" license="Apache-2.0" options="!check" # FIXME: cassandra_integration_tests won't link depends="" makedepends="cmake make openssl-dev libuv-dev" subpackages="$pkgname-dev" source="$_pkgname-$pkgver.tar.gz::https://github.com/datastax/cpp-driver/archive/$pkgver.tar.gz " builddir="$srcdir/$_pkgname-$pkgver" build() { mkdir -p "$builddir"/build cd "$builddir"/build cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCASS_BUILD_STATIC=ON \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_INSTALL_LIBDIR=lib .. make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="92e214a5e2358955999dc58caccc66483676ac274c10703bcd628c144190d6e878418fe9471672db726508fba33611c930526710ffe6ec583f4f54d5b9d280d9 cpp-driver-2.10.0.tar.gz"