homebrew-core/Formula/libmpdclient.rb
2017-09-15 21:59:23 -07:00

25 lines
1,023 B
Ruby

class Libmpdclient < Formula
desc "Library for MPD in the C, C++, and Objective-C languages"
homepage "https://www.musicpd.org/libs/libmpdclient/"
url "https://www.musicpd.org/download/libmpdclient/2/libmpdclient-2.13.tar.xz"
sha256 "5115bd52bc20a707c1ecc7587e6389c17305348e2132a66cf767c62fc55ed45d"
head "git://git.musicpd.org/master/libmpdclient.git"
bottle do
cellar :any
sha256 "af530e739905c173c9327f560c7a04ba39f8c5a3476d1c2d0516be62dc967789" => :high_sierra
sha256 "30f5b095ddc086dbb8d15b82f0184f83308c7bd5d020facacee2b27c54757add" => :sierra
sha256 "56530667e499edce59960bf7e7ef3fe3cda08b96c9a8af1f6e056a98ae86c0fc" => :el_capitan
sha256 "a4eab9eb2e1e33ef07412d5edb202983245f2a5b285771d352eb87c5fa162f4b" => :yosemite
end
depends_on "doxygen" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
def install
system "meson", "--prefix=#{prefix}", ".", "output"
system "ninja", "-C", "output"
system "ninja", "-C", "output", "install"
end
end