Skip to content

Instantly share code, notes, and snippets.

@dpo
Created February 18, 2014 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpo/9079917 to your computer and use it in GitHub Desktop.
Save dpo/9079917 to your computer and use it in GitHub Desktop.
require 'formula'
class Bedops < Formula
homepage 'https://github.com/bedops/bedops'
url 'https://github.com/bedops/bedops/archive/v2.4.1-rc1.tar.gz'
sha1 '436c769af8ffac70f4d7f02922915d3c71c5af88'
head 'https://github.com/bedops/bedops.git'
fails_with :clang
fails_with :llvm
fails_with :gcc
fails_with :gcc => '4.7'
def install
ENV.deparallelize
ENV.universal_binary
ENV.cxx11
system "make", "build_all_darwin_intel_fat", "CC=#{ENV['CC']}", "CXX=#{ENV['CXX']}"
system 'make install'
system 'cp bin/* #{bin}'
end
test do
system 'bedops', '--version'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment