homebrew-core/Formula/libusrsctp.rb

25 lines
628 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'
head 'http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp', :using => :svn
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