21 lines
971 B
Ruby
21 lines
971 B
Ruby
class Enet < Formula
|
|
desc "Provides a network communication layer on top of UDP"
|
|
homepage "http://enet.bespin.org"
|
|
url "http://enet.bespin.org/download/enet-1.3.13.tar.gz"
|
|
sha256 "e36072021faa28731b08c15b1c3b5b91b911baf5f6abcc7fe4a6d425abada35c"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "3bc91e18a67855cfe022b4dc587bfcac90a942331ef72dcc4f00d38fcb82b12e" => :mojave
|
|
sha256 "e7a004695c99ab8564886887536ec2536fc4375f053f26db6f6253d866c876b3" => :high_sierra
|
|
sha256 "0f17698e0206e19f1ab693131f91f8f3267366a9ca9646463323880d459cf7a1" => :sierra
|
|
sha256 "4efff251b59d56ebc5368cf8cbdc6e59f48a52d97e8fd73e1900869cb3a634bb" => :el_capitan
|
|
sha256 "14a3e5aebe4adb9a76c643a85a91e15c4815fec76697709a3d56f68c3921666e" => :yosemite
|
|
sha256 "927255e6afb287eb95c6c7a53b275084229d3c11ad58066b824628e30a89dcea" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|