2013-06-07 18:44:27 +00:00
|
|
|
class BoostBcp < Formula
|
2014-11-04 06:26:03 +00:00
|
|
|
homepage "http://www.boost.org/doc/tools/bcp/"
|
2015-05-03 18:30:18 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.bz2"
|
|
|
|
sha256 "fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5"
|
2013-06-07 18:44:27 +00:00
|
|
|
|
2015-05-03 18:30:18 +00:00
|
|
|
head "https://github.com/boostorg/boost.git"
|
2013-06-07 18:44:27 +00:00
|
|
|
|
2014-11-04 06:37:44 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-05-09 23:58:56 +00:00
|
|
|
sha256 "ac4b08d1bd2ccc2d4adaf877f325eccd85d8c588e12d407374c08007c7ce2605" => :yosemite
|
|
|
|
sha256 "0150fea4a1d5c67d916754502088ac8f12c5386ced91712d614cdaaaeaadef0d" => :mavericks
|
|
|
|
sha256 "00d5d63073f6a5fe6f42822f617835e84164ff875537504b275ca072b42f67bf" => :mountain_lion
|
2014-11-04 06:37:44 +00:00
|
|
|
end
|
|
|
|
|
2014-11-04 06:26:03 +00:00
|
|
|
depends_on "boost-build" => :build
|
2013-06-07 18:44:27 +00:00
|
|
|
|
|
|
|
def install
|
2014-11-04 06:26:03 +00:00
|
|
|
cd "tools/bcp" do
|
2013-06-07 18:44:27 +00:00
|
|
|
system "b2"
|
|
|
|
prefix.install "../../dist/bin"
|
|
|
|
end
|
|
|
|
end
|
2015-05-03 18:30:18 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"bcp", "--help"
|
|
|
|
end
|
2013-06-07 18:44:27 +00:00
|
|
|
end
|