Commit 0798c6c8 authored by Gennady Feldman's avatar Gennady Feldman Committed by Natanael Copa

testing/cassandra-cpp-driver: new aport

Adding cassandra-cpp-driver 2.4.3
parent c591456e
# Contributor: Gennady Feldman <gena01@gmail.com>
# Maintainer: Gennady Feldman <gena01@gmail.com>
pkgname=cassandra-cpp-driver
_pkgreal=cpp-driver
pkgver=2.4.3
pkgrel=0
pkgdesc="Cassandra CPP Driver"
url="http://datastax.github.io/cpp-driver/"
arch="all"
license="ASL 2.0"
depends=
makedepends="cmake make openssl-dev libuv-dev"
install=""
subpackages="$pkgname-dev"
source="$_pkgreal-$pkgver.tar.gz::https://github.com/datastax/cpp-driver/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
cd "$builddir"
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCASS_BUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR=lib .. || return 1
make || return 1
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="d25e0bde0c030f12882a24a8866cc93f cpp-driver-2.4.3.tar.gz"
sha256sums="d3364d1b8bc71ec4409ff7432f10d1edbdb1329ab8315418858561065b024bdf cpp-driver-2.4.3.tar.gz"
sha512sums="a23fdd77a19dd99bd077af2d51163471c30dcb88c59a1c8c5221c4369e46637ecbb5ffa4d76ed5f60d1a0d0feabf05a731cd0b377ae5bbc901ba5beeb6055953 cpp-driver-2.4.3.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment