27 lines
863 B
Ruby
27 lines
863 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.65.1/source/boost_1_65_1.tar.bz2"
|
|
sha256 "9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81"
|
|
head "https://github.com/boostorg/boost.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "d1299cbbab53626c4efa71d666c6101584f4a3172bc598f9233dc2afd171eec9" => :sierra
|
|
sha256 "9be9c0871856fc998d0005078874b2be199e804c5cd3e58c45cc3e361a5180be" => :el_capitan
|
|
sha256 "39aedc49dbd5d2b188786016b90d3caec89dc81306edaa3fa9bd00664758136e" => :yosemite
|
|
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
|