2011-07-02 18:00:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class CrushTools < Formula
|
|
|
|
homepage 'http://crush-tools.googlecode.com/'
|
2013-05-22 20:56:14 +00:00
|
|
|
url 'https://crush-tools.googlecode.com/files/crush-tools-2013-04.tar.gz'
|
|
|
|
version '2013-04'
|
|
|
|
sha1 'a03a9d4719e8e049d836413598b636fd00f6a4cc'
|
2011-07-02 18:00:06 +00:00
|
|
|
|
|
|
|
depends_on 'pcre'
|
|
|
|
|
2013-11-08 06:29:59 +00:00
|
|
|
conflicts_with 'aggregate', :because => 'both install an `aggregate` binary'
|
|
|
|
|
2011-07-02 18:00:06 +00:00
|
|
|
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",
|
2011-07-02 18:00:06 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|