homebrew-core/Formula/boost-bcp.rb
2019-03-21 08:49:45 +01:00

27 lines
862 B
Ruby

class BoostBcp < Formula
desc "Utility for extracting subsets of the Boost library"
homepage "https://www.boost.org/doc/tools/bcp/"
url "https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.bz2"
sha256 "8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406"
head "https://github.com/boostorg/boost.git"
bottle do
cellar :any_skip_relocation
sha256 "8c16e424058e32535221951ee4e67cf37804814f476e421a1fd6b63c2a9faa26" => :mojave
sha256 "95e399c79e9b8a176ae3d9495dac2b3719d8d0a332f4aaeeb94876ec4d3b8d43" => :high_sierra
sha256 "6be0f07faacc2785bdcde5a830cca11fcafa1391b5d379f5672a2a9b401e566e" => :sierra
end
depends_on "boost-build" => :build
def install
cd "tools/bcp" do
system "b2"
prefix.install "../../dist/bin"
end
end
test do
system bin/"bcp", "--help"
end
end