2012-11-19 12:41:19 +00:00
|
|
|
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-09-22 01:47:23 +00:00
|
|
|
head do
|
|
|
|
url 'http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp'
|
2012-11-19 12:41:19 +00:00
|
|
|
|
|
|
|
depends_on :autoconf
|
|
|
|
depends_on :automake
|
2013-11-13 17:01:29 +00:00
|
|
|
depends_on :libtool
|
2012-11-19 12:41:19 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system './bootstrap' if build.head?
|
|
|
|
|
|
|
|
system './configure', '--disable-dependency-tracking',
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system 'make'
|
|
|
|
system 'make install'
|
|
|
|
end
|
|
|
|
end
|