homebrew-core/Formula/crush-tools.rb

22 lines
582 B
Ruby
Raw Normal View History

require 'formula'
class CrushTools < Formula
homepage 'http://crush-tools.googlecode.com/'
url 'https://crush-tools.googlecode.com/files/crush-tools-2013-04.tar.gz'
version '2013-04'
sha1 'a03a9d4719e8e049d836413598b636fd00f6a4cc'
depends_on 'pcre'
2013-11-08 06:29:59 +00:00
conflicts_with 'aggregate', :because => 'both install an `aggregate` binary'
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
2013-01-27 21:52:29 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end