require 'formula' class Autoconf < Formula homepage 'http://www.gnu.org/software/autoconf' url 'http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz' mirror 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz' sha1 '562471cbcb0dd0fa42a76665acf0dbb68479b78a' if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/autoconf" keg_only "Xcode (up to and including 4.2) provides (a rather old) Autoconf." end def install # force autoreconf to look for and use our glibtoolize inreplace 'bin/autoreconf.in', 'libtoolize', 'glibtoolize' system "./configure", "--prefix=#{prefix}" system "make install" end test do cp "#{share}/autoconf/autotest/autotest.m4", 'autotest.m4' system "#{bin}/autoconf", 'autotest.m4' end end ='h' onchange='this.form.submit();'> :beer: The missing package manager for OS X.
aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/s3cmd.rb
blob: f9d2ea208f8076e024d14c0ca85b86545d1ea2ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28