homebrew-core/Formula/corkscrew.rb
Jack Nagel 76021a8379 Provide compatibility with libtool 2.4.2 and 2.4.3+
The location of config.guess and config.sub changed.
2014-12-07 00:15:40 -05:00

17 lines
529 B
Ruby

require 'formula'
class Corkscrew < Formula
homepage 'http://www.agroman.net/corkscrew/'
url 'http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz'
sha1 '8bdb4c0dc71048136c721c33229b9bf795230b32'
depends_on "libtool" => :build
def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end