diff options
| author | Iandol | 2011-04-04 12:21:00 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-04 08:44:50 -0700 |
| commit | 983aa3470618c4e20b92257f8e1504bac7c04703 (patch) | |
| tree | 638b4eaedd6861da3b9033868795fab08282d99e /Library | |
| parent | b64772cb20f83cdf92ae438cfac554440eba7afb (diff) | |
| download | homebrew-983aa3470618c4e20b92257f8e1504bac7c04703.tar.bz2 | |
gsl: add --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gsl.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/gsl.rb b/Library/Formula/gsl.rb index 438fcc019..e22173297 100644 --- a/Library/Formula/gsl.rb +++ b/Library/Formula/gsl.rb @@ -5,8 +5,14 @@ class Gsl < Formula homepage 'http://www.gnu.org/software/gsl/' md5 'd55e7b141815412a072a3f0e12442042' + def options + [["--universal", "Build a universal binary."]] + end + def install - system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" + ENV.universal_binary if ARGV.include? "--universal" + + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" # A GNU tool which doesn't support just make install! Shameful! system "make install" end |
