2010-08-06 21:56:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Liblo < Formula
|
2010-08-06 21:56:01 +00:00
|
|
|
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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '21942c8f19e9829b5842cb85352f98c49dfbc823'
|
2010-08-06 21:56:01 +00:00
|
|
|
|
2013-01-28 00:09:43 +00:00
|
|
|
option "enable-ipv6", "Compile with support for ipv6"
|
|
|
|
|
2010-08-06 21:56:01 +00:00
|
|
|
def install
|
2013-01-28 00:09:43 +00:00
|
|
|
args = %W[--disable-debug
|
|
|
|
--disable-dependency-tracking
|
|
|
|
--prefix=#{prefix}]
|
|
|
|
|
|
|
|
args << "--enable-ipv6" if build.include? "enable-ipv6"
|
|
|
|
|
|
|
|
system "./configure", *args
|
2010-08-06 21:56:01 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|