aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorRicho Healey2014-02-19 21:47:33 +0000
committerMike McQuaid2014-02-19 21:48:11 +0000
commita3d430843a46301ffcd23777f5d1b2aa6aab4dc9 (patch)
treed9fd4b73743ba479345e0269377957a7b01af45f /Library
parent307348abc30705835db93cb5b572ddbc688abbd3 (diff)
downloadhomebrew-a3d430843a46301ffcd23777f5d1b2aa6aab4dc9.tar.bz2
libbtbb 2014-02-R1 (new formula)
Closes #26319. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libbtbb.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/libbtbb.rb b/Library/Formula/libbtbb.rb
new file mode 100644
index 000000000..9e22519b4
--- /dev/null
+++ b/Library/Formula/libbtbb.rb
@@ -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