homebrew-core/Formula/pianod.rb
2019-11-27 12:34:25 +00:00

30 lines
1,019 B
Ruby

class Pianod < Formula
desc "Pandora client with multiple control interfaces"
homepage "https://deviousfish.com/pianod/"
url "https://deviousfish.com/Downloads/pianod2/Devel/pianod2-298.tar.gz"
sha256 "0de916d8df19c045a98fd9b63ec25f157d30235c412689c00c3cead99c64ba76"
bottle do
sha256 "6c0dee18b03c7dfd0c4d752164b7e86edd84098f3dfccd4e248d4e2085314988" => :catalina
sha256 "f5f17916dd35eb4ec45b7ad25ed7b82cd7f8b7dd4cd53846b4fd023e331cd622" => :mojave
sha256 "0d3430afe66553f3b3a87798766ff1bccc2972ed2867a363ebf6d1b8a3ae57b1" => :high_sierra
end
depends_on "pkg-config" => :build
depends_on "json-c"
depends_on "libao"
depends_on "libgcrypt"
def install
ENV["OBJCXXFLAGS"] = "-std=c++11"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/pianod", "-v"
end
end