aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libusrsctp.rb
blob: 8201f19d16dd8d5e529c23d7ec4a952b3f643fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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