]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5488] Attached cpp-driver.rb trac5488
authorFrancis Dupont <fdupont@isc.org>
Wed, 23 May 2018 08:10:52 +0000 (10:10 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 23 May 2018 08:10:52 +0000 (10:10 +0200)
ATTACHED [new file with mode: 0644]
cpp-driver.rb [new file with mode: 0644]

diff --git a/ATTACHED b/ATTACHED
new file mode 100644 (file)
index 0000000..c539efd
--- /dev/null
+++ b/ATTACHED
@@ -0,0 +1 @@
+Attached macOS brew cpp-driver file as 'cpp-driver.rb'
diff --git a/cpp-driver.rb b/cpp-driver.rb
new file mode 100644 (file)
index 0000000..ced606f
--- /dev/null
@@ -0,0 +1,17 @@
+class CppDriver < Formula
+  desc "DataStax C/C++ Driver for Apache Cassandra"
+  homepage "https://github.com/datastax/cpp-driver"
+  url "https://github.com/datastax/cpp-driver/archive/2.9.0.tar.gz"
+  sha256 "1fcf3a4626fe70c345ef7e40624b3f8910113fafb00a38f71357da146ea1a2ab"
+
+  depends_on "cmake" => :build
+  depends_on "libuv"
+  depends_on "openssl"
+
+  def install
+    mkdir "build" do
+      system "cmake", "..", *std_cmake_args
+      system "make", "install"
+    end
+  end
+end