/Library/Formula/liblo.rb

https://github.com/bfroehle/homebrew · Ruby · 20 lines · 15 code · 5 blank · 0 comment · 2 complexity · a79775c130381341e290b1cb16b93191 MD5 · raw file

  1. require 'formula'
  2. class Liblo < Formula
  3. homepage 'http://liblo.sourceforge.net/'
  4. url 'http://downloads.sourceforge.net/project/liblo/liblo/0.26/liblo-0.26.tar.gz'
  5. sha1 '21942c8f19e9829b5842cb85352f98c49dfbc823'
  6. option "enable-ipv6", "Compile with support for ipv6"
  7. def install
  8. args = %W[--disable-debug
  9. --disable-dependency-tracking
  10. --prefix=#{prefix}]
  11. args << "--enable-ipv6" if build.include? "enable-ipv6"
  12. system "./configure", *args
  13. system "make install"
  14. end
  15. end