aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorIandol2011-04-04 12:21:00 +0100
committerAdam Vandenberg2011-04-04 08:44:50 -0700
commit983aa3470618c4e20b92257f8e1504bac7c04703 (patch)
tree638b4eaedd6861da3b9033868795fab08282d99e /Library
parentb64772cb20f83cdf92ae438cfac554440eba7afb (diff)
downloadhomebrew-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.rb8
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