aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libusrsctp.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/libusrsctp.rb b/Library/Formula/libusrsctp.rb
new file mode 100644
index 000000000..8201f19d1
--- /dev/null
+++ b/Library/Formula/libusrsctp.rb
@@ -0,0 +1,24 @@
+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