homebrew-core/Formula/sdl_net.rb
nibbles 2bits fc324ed650 sdl_net 1.2.8
Upgrade sdl_net to version 1.2.8.
Tested both native and universal on Lion with llvm and clang from
XCode-4.3.3.

Closes Homebrew/homebrew#13160.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-02 13:04:24 -05:00

21 lines
586 B
Ruby

require 'formula'
class SdlNet < Formula
homepage 'http://www.libsdl.org/projects/SDL_net/'
url 'http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8.tar.gz'
sha1 'fd393059fef8d9925dc20662baa3b25e02b8405d'
depends_on 'sdl'
def options
[['--universal', 'Build universal binaries.']]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-sdltest"
system "make install"
end
end