Skip to content

Commit

Permalink
libbtbb 2014-02-R1 (new formula)
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#26319.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
richo authored and MikeMcQuaid committed Feb 19, 2014
1 parent cb1596a commit 6e71580
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Formula/libbtbb.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

0 comments on commit 6e71580

Please sign in to comment.