diff options
| author | Tojek Anselm | 2010-10-17 08:52:14 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-02 06:55:57 -0700 |
| commit | a02ce4966dfd78752c6861571306dbf6d68c00d7 (patch) | |
| tree | 4edd69635791bfef3d2ea8ad64d9f0363c3e8c7c /Library/Formula | |
| parent | ea668ec2f00bcdb33e78093e1215a18a4cb7ac10 (diff) | |
| download | homebrew-a02ce4966dfd78752c6861571306dbf6d68c00d7.tar.bz2 | |
geoip --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/geoip.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/geoip.rb b/Library/Formula/geoip.rb index b73a8e208..31743f953 100644 --- a/Library/Formula/geoip.rb +++ b/Library/Formula/geoip.rb @@ -5,7 +5,12 @@ class Geoip <Formula homepage 'http://www.maxmind.com/app/c' md5 'cb14b1beeb40631a12676b11ca0c309a' + def options + [["--universal", "Build a universal binary."]] + end + def install + ENV.universal_binary if ARGV.include? "--universal" system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" system "make install" end |
