aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorGennady Feldman <gena01@gmail.com>2016-09-16 03:08:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-22 10:26:16 +0000
commit0798c6c89299d8378673c24553c9bea84d4fa07e (patch)
tree80b2d0826ac39224cccf4d1eef30d4f7ff27a19a /testing
parentc591456e5d8bb81f9f380db4a52da44c839ea003 (diff)
downloadaports-0798c6c89299d8378673c24553c9bea84d4fa07e.tar.bz2
aports-0798c6c89299d8378673c24553c9bea84d4fa07e.tar.xz
testing/cassandra-cpp-driver: new aport
Adding cassandra-cpp-driver 2.4.3
Diffstat (limited to 'testing')
-rw-r--r--testing/cassandra-cpp-driver/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/cassandra-cpp-driver/APKBUILD b/testing/cassandra-cpp-driver/APKBUILD
new file mode 100644
index 0000000000..036c886653
--- /dev/null
+++ b/testing/cassandra-cpp-driver/APKBUILD
@@ -0,0 +1,34 @@
+# 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"