1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00

community/cassandra-cpp-driver: modernize abuild and disable check

This commit is contained in:
tcely 2018-03-27 13:13:58 -04:00 committed by Jakub Jirutka
parent 9fbb035e36
commit d0bbd3d915

View file

@ -8,6 +8,7 @@ pkgdesc="Cassandra CPP Driver"
url="http://datastax.github.io/cpp-driver/"
arch="x86_64 x86 ppc64le"
license="Apache-2.0"
options="!check" # FIXME: cassandra_integration_tests won't link
depends=""
makedepends="cmake make libressl-dev libuv-dev"
subpackages="$pkgname-dev"
@ -21,13 +22,13 @@ build() {
-DCMAKE_BUILD_TYPE=RELEASE \
-DCASS_BUILD_STATIC=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR=lib .. \
|| return 1
-DCMAKE_INSTALL_LIBDIR=lib ..
make
}
package() {
make -C "$builddir"/build DESTDIR="$pkgdir" install || return 1
cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="1b303e874d6b24cb429ec92d6030880ad7d7b28b167a25c62060626c206f623863ecf58eab33e89b0efea4a474ca9500e1701b719ac203c76b0875c2b5d0a1c8 cpp-driver-2.8.1.tar.gz"