aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/liblo.rb
blob: c958372544c8241f4c88751ecbe8bd910ea6b461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class Liblo < Formula
  homepage 'http://liblo.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/liblo/liblo/0.26/liblo-0.26.tar.gz'
  sha1 '21942c8f19e9829b5842cb85352f98c49dfbc823'

  option "enable-ipv6", "Compile with support for ipv6"

  def install
    args = %W[--disable-debug
              --disable-dependency-tracking
              --prefix=#{prefix}]

    args << "--enable-ipv6" if build.include? "enable-ipv6"

    system "./configure", *args
    system "make install"
  end
end