Skip to content

Commit

Permalink
SDL2_net 2.0.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#22225.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
Cody Maggard authored and adamv committed Aug 30, 2013
1 parent cf21bb3 commit cd3c5ec
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Formula/sdl2_net.rb
@@ -0,0 +1,19 @@
require 'formula'

class Sdl2Net < Formula
homepage 'http://www.libsdl.org/projects/SDL_net/'
url 'http://www.libsdl.org/projects/SDL_net/release/SDL2_net-2.0.0.tar.gz'
sha1 'c7cf473b3adada23171df9f92b3117052eac69fa'

depends_on 'sdl2'
option :universal

def install
ENV.universal_binary if build.universal?
inreplace 'SDL2_net.pc.in', '@prefix@', HOMEBREW_PREFIX

system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--disable-sdltest"
system "make", "install"
end
end

0 comments on commit cd3c5ec

Please sign in to comment.