homebrew-core/Formula/libusrsctp.rb

25 lines
612 B
Ruby
Raw Normal View History

require 'formula'
class Libusrsctp < Formula
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'
2013-05-28 05:32:27 +00:00
head 'http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp'
if build.head?
depends_on :libtool
depends_on :autoconf
depends_on :automake
end
def install
system './bootstrap' if build.head?
system './configure', '--disable-dependency-tracking',
"--prefix=#{prefix}"
system 'make'
system 'make install'
end
end