diff options
| author | Adam Vandenberg | 2012-02-03 22:04:45 -0800 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-02-03 22:11:20 -0800 | 
| commit | ca6f3354d002270fde8a5f3dc5e84928afe54929 (patch) | |
| tree | 78c5020bbf165e4817d3aded4ff62dfef90bd146 /Library | |
| parent | 60c6185c1911a5d72b7e19ba1653347128fdf050 (diff) | |
| download | homebrew-ca6f3354d002270fde8a5f3dc5e84928afe54929.tar.bz2 | |
ossp-uuid: add 32-bit only build
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ossp-uuid.rb | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/ossp-uuid.rb b/Library/Formula/ossp-uuid.rb index e73d3b875..8b327af26 100644 --- a/Library/Formula/ossp-uuid.rb +++ b/Library/Formula/ossp-uuid.rb @@ -6,7 +6,16 @@ class OsspUuid < Formula    homepage 'http://www.ossp.org/pkg/lib/uuid/'    md5 '5db0d43a9022a6ebbbc25337ae28942f' +  def options +    [["--32-bit", "Build 32-bit only."]] +  end +    def install +    if ARGV.include? '--32-bit' +      ENV.append 'CFLAGS', '-arch i386' +      ENV.append 'LDFLAGS', '-arch i386' +    end +      system "./configure", "--disable-debug",                            "--without-perl",                            "--without-php",  | 
