homebrew-core/Formula/libbtbb.rb
Richo Healey 6e71580b1f libbtbb 2014-02-R1 (new formula)
Closes Homebrew/homebrew#26319.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-19 21:48:11 +00:00

27 lines
665 B
Ruby

require "formula"
class Libbtbb < Formula
homepage "https://github.com/greatscottgadgets/libbtbb"
url "https://github.com/greatscottgadgets/libbtbb/archive/2014-02-R1.tar.gz"
sha1 "d0004f7d7afdee949cd7ddf0e3f13510861a9c7d"
version "2014-02-R1"
head "https://github.com/greatscottgadgets/libbtbb.git"
option :universal
depends_on "cmake" => :build
depends_on "python"
def install
if build.universal?
ENV.universal_binary
ENV["CMAKE_OSX_ARCHITECTURES"] = Hardware::CPU.universal_archs.as_cmake_arch_flags
end
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
end
end