blob: c247b429cd6cae59f4eb6d0697ee2cf1930a8044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Gennady Feldman <gena01@gmail.com>
# Maintainer: Gennady Feldman <gena01@gmail.com>
pkgname=cassandra-cpp-driver
_pkgreal=cpp-driver
pkgver=2.5.0
pkgrel=0
pkgdesc="Cassandra CPP Driver"
url="http://datastax.github.io/cpp-driver/"
arch="x86_64 x86"
license="ASL 2.0"
depends=
makedepends="cmake make libressl-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="342b18b9a0a8088be06b6ea3b7a7dec6 cpp-driver-2.5.0.tar.gz"
sha256sums="0ed0c5543d551a7ab864cd8c93ba4e49a37a7a9d8b174ecfc6e27f5c5fbf018d cpp-driver-2.5.0.tar.gz"
sha512sums="2652571bc81ccff7f4e1bc67432bc5315ddbd63282b78eb6738fc93f48d29d0f150281d2c3ab2f86fdd01f008db7eee2dc86777f233b976e86f931f2aec76b78 cpp-driver-2.5.0.tar.gz"
|