aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libusrsctp.rb
blob: 3aba3a61cdd4ae39eeb75cdc598278aa4648e651 (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
25
26
27
28
29
30
31
32
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'

  bottle do
    cellar :any
    revision 1
    sha1 "5b540e94ed9273d09eba0e213014d2060cb27a0c" => :yosemite
    sha1 "04778d2ae6555f8916eea463e70441de02665da0" => :mavericks
    sha1 "b4c7f0a6851ce53f9d48091995bd523d4dbc7262" => :mountain_lion
  end

  head do
    url 'http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp'

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  def install
    system './bootstrap' if build.head?

    system './configure', '--disable-dependency-tracking',
                          "--prefix=#{prefix}"
    system 'make'
    system 'make install'
  end
end