homebrew-core/Formula/libusrsctp.rb
2015-06-05 14:47:57 +01:00

33 lines
920 B
Ruby

require 'formula'
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'
sha1 'b719ddd754fd21b2bda634db20640bb9477c2a1b'
bottle do
cellar :any
revision 1
sha1 "5b540e94ed9273d09eba0e213014d2060cb27a0c" => :yosemite
sha1 "04778d2ae6555f8916eea463e70441de02665da0" => :mavericks
sha1 "b4c7f0a6851ce53f9d48091995bd523d4dbc7262" => :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