diff options
| author | Jack Nagel | 2012-08-12 12:59:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:01:04 -0500 |
| commit | 429cccf96f8758566706de9a4e4701fddc11741f (patch) | |
| tree | 12d3aa561e389341983c1b5ee4405b6c3b1e5e7d /Library/Formula | |
| parent | 18805dd249dc6e5517d6f61a945a06db499758fc (diff) | |
| download | homebrew-429cccf96f8758566706de9a4e4701fddc11741f.tar.bz2 | |
sdl_gfx: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sdl_gfx.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/sdl_gfx.rb b/Library/Formula/sdl_gfx.rb index 6d7c1b0c2..690b19b32 100644 --- a/Library/Formula/sdl_gfx.rb +++ b/Library/Formula/sdl_gfx.rb @@ -7,12 +7,10 @@ class SdlGfx < Formula depends_on 'sdl' - def options - [['--universal', 'Build universal binaries.']] - end + option :universal def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-sdltest" |
