homebrew-core/Formula/sdl_net.rb
2017-09-15 12:23:44 +02:00

24 lines
1 KiB
Ruby

class SdlNet < Formula
desc "Sample cross-platform networking library"
homepage "https://www.libsdl.org/projects/SDL_net/release-1.2.html"
url "https://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8.tar.gz"
sha256 "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"
bottle do
cellar :any
sha256 "6ef784ef221c9eeea648834070ec1d20bac11cdc9754f5af2fe5dd6fa04e0f10" => :high_sierra
sha256 "65cc3ae3104620de06f03ca0d9b3a545d90f2a36955dcb528f5f42af6db11bcf" => :sierra
sha256 "036938975b4060fdc944c2258a8d1d5d73f536860a9c807116e6c4fb2aa65dc8" => :el_capitan
sha256 "fe6b8eda1d640db450ed12f79feb731d49a62263c4b83601d69659498d697538" => :yosemite
sha256 "99f9035f95e548ea81eb11ac9c06ae5eab8d2797ea9ca03ac074fe30bb357748" => :mavericks
end
depends_on "pkg-config" => :build
depends_on "sdl"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--disable-sdltest"
system "make", "install"
end
end