From: Francis Dupont Date: Wed, 23 May 2018 08:10:52 +0000 (+0200) Subject: [5488] Attached cpp-driver.rb X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Ftrac5488;p=thirdparty%2Fkea.git [5488] Attached cpp-driver.rb --- diff --git a/ATTACHED b/ATTACHED new file mode 100644 index 0000000000..c539efd996 --- /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 index 0000000000..ced606f75e --- /dev/null +++ b/cpp-driver.rb @@ -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