45 lines
1.3 KiB
Ruby
45 lines
1.3 KiB
Ruby
class Liblo < Formula
|
|
desc "Lightweight Open Sound Control implementation"
|
|
homepage "https://liblo.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/liblo/liblo/0.28/liblo-0.28.tar.gz"
|
|
sha256 "da94a9b67b93625354dd89ff7fe31e5297fc9400b6eaf7378c82ee1caf7db909"
|
|
|
|
bottle do
|
|
cellar :any
|
|
rebuild 2
|
|
sha256 "3e974c53259293996ce8b2293413aa5bc17986f773a40d067be7eef2b6461737" => :sierra
|
|
sha256 "d81d8b215a608d3bc9d5c125a04243372e9ac8c5b1b627045a30c728f89c1c7a" => :el_capitan
|
|
sha256 "e56f28e422f08467b0db99b6db4771a36cd6dba6f4880e57f993f84c41ee1df9" => :yosemite
|
|
sha256 "26f814026942763e874c480f35f0a3345c2267633d7fbc63cdeef4704dd991a4" => :mavericks
|
|
end
|
|
|
|
head do
|
|
url "https://git.code.sf.net/p/liblo/git.git"
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
end
|
|
|
|
option "with-ipv6", "Compile with support for ipv6"
|
|
|
|
deprecated_option "enable-ipv6" => "with-ipv6"
|
|
|
|
def install
|
|
args = %W[
|
|
--disable-debug
|
|
--disable-dependency-tracking
|
|
--prefix=#{prefix}
|
|
]
|
|
|
|
args << "--enable-ipv6" if build.with? "ipv6"
|
|
|
|
if build.head?
|
|
system "./autogen.sh", *args
|
|
else
|
|
system "./configure", *args
|
|
end
|
|
|
|
system "make", "install"
|
|
end
|
|
end
|