31 lines
1,008 B
Ruby
31 lines
1,008 B
Ruby
class Libusrsctp < Formula
|
|
desc "User-land SCTP stack"
|
|
homepage "http://sctp.fh-muenster.de/sctp-user-land-stack.html"
|
|
url "http://sctp.fh-muenster.de/download/libusrsctp-0.9.1.tar.gz"
|
|
sha256 "63a3abe5f1cb7ddde36cba09d32579b05a98badb06ff88fca87d024925c3ff16"
|
|
|
|
bottle do
|
|
cellar :any
|
|
revision 1
|
|
sha256 "7b34b5ecea1efc1010628940ae3dbba282c382447efdc95a421073c4968d49b8" => :yosemite
|
|
sha256 "a1de98e0d6131039baaf32092eca8f77a954f2eb3c93f59f8b6bb7bcf2b03d4a" => :mavericks
|
|
sha256 "420b3cd77be8a4db30463ce770c6927487d098c4c72fe2e72bb02f76dcb87e20" => :mountain_lion
|
|
end
|
|
|
|
head do
|
|
url "http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp"
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
end
|
|
|
|
def install
|
|
system "./bootstrap" if build.head?
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
end
|