diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,19 +1,23 @@ # Maintainer: Skunnyk <skunnyk@archlinux.fr> pkgname=cassandra-cpp-driver _pkgname=cpp-driver -pkgver=2.6.0 +pkgver=2.7.0 pkgrel=1 pkgdesc="DataStax C/C++ Driver for Apache Cassandra" arch=(i686 x86_64) url="http://datastax.github.io/cpp-driver/" license=('Apache') -depends=('libuv' 'openssl') +depends=('libuv' 'openssl-1.0') makedepends=('libuv') source=("https://codeload.github.com/datastax/${_pkgname}/tar.gz/${pkgver}") build() { cd "$_pkgname-$pkgver" - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib . + # Remove the -Werror from .cmake otherwise it does not compile anymore with gcc 7.x + sed -i "s/-Werror//" cmake/modules/CppDriver.cmake + # Use openssl 1.0 because it does not compile against openssl 1.1.0 yet + export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -Wno-error . make } @@ -21,4 +25,4 @@ package() { cd "$_pkgname-$pkgver" make DESTDIR="$pkgdir/" install } -sha256sums=('91a00e1922c4c90d614a013f79e9338afe2d12491b6db8cc7d8e09b09ea75eaf') +sha256sums=('44a97679e719b2b046ef90323beab4fe3a491ae79396e7f28e6a9677b618a0e4') |