homebrew-core/Formula/crush-tools.rb

20 lines
501 B
Ruby
Raw Normal View History

require 'formula'
class CrushTools < Formula
homepage 'http://crush-tools.googlecode.com/'
2013-01-27 21:52:29 +00:00
url 'http://crush-tools.googlecode.com/files/crush-tools-2012-02.tar.gz'
version '2012-02'
2013-01-27 21:52:29 +00:00
sha1 'c628e3f79fa78a1437cfbe41a7ef49ecaa4d7f53'
depends_on 'pcre'
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