homebrew-core/Formula/liblo.rb

21 lines
528 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Liblo < Formula
homepage 'http://liblo.sourceforge.net/'
2013-01-07 07:29:44 +00:00
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