Skip to content

Instantly share code, notes, and snippets.

@lonnen
Created January 4, 2011 22:15
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lonnen/765545 to your computer and use it in GitHub Desktop.
Save lonnen/765545 to your computer and use it in GitHub Desktop.
Homebrew recipe for autoconf213
require 'formula'
class Autoconf213 <Formula
url 'http://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.13.tar.gz'
md5 '9de56d4a161a723228220b0f425dc711'
homepage 'http://www.gnu.org/software/autoconf/'
def keg_only?
:provided_by_osx
end
def install
inreplace 'configure', 'for ac_prog in mawk gawk nawk awk', 'for ac_prog in awk'
system "./configure", "--disable-debug",
"--program-suffix=213",
"--prefix=#{prefix}",
"--infodir=#{info}",
"--datadir=#{prefix}/share/autoconf213"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment