31 lines
1,001 B
Ruby
31 lines
1,001 B
Ruby
class Poco < Formula
|
|
desc "C++ class libraries for building network and internet-based applications"
|
|
homepage "https://pocoproject.org/"
|
|
url "https://pocoproject.org/releases/poco-1.9.4/poco-1.9.4-all.tar.gz"
|
|
sha256 "eb34f257b11240a711ee505f1d80c754a80a990aeb48d8d93407884df288fd77"
|
|
head "https://github.com/pocoproject/poco.git", :branch => "develop"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "40a29af1e9194eadde22a51f24004e973e0d9b06de26928c1d02ece9c3286a55" => :catalina
|
|
sha256 "723c47f4b5c0820795ba535ab6ba2ab66b2465005aa0483aaf6d65fb96a24ebc" => :mojave
|
|
sha256 "d798a41a7586168253097fe399fea1252a68ce868574cf41022bbacefd7989fc" => :high_sierra
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "openssl@1.1"
|
|
|
|
def install
|
|
ENV.cxx11
|
|
|
|
mkdir "build" do
|
|
system "cmake", "..", *std_cmake_args, "-DENABLE_DATA_MYSQL=OFF",
|
|
"-DENABLE_DATA_ODBC=OFF"
|
|
system "make", "install"
|
|
end
|
|
end
|
|
|
|
test do
|
|
system bin/"cpspc", "-h"
|
|
end
|
|
end
|