homebrew-core/Formula/libmusicbrainz.rb
Sean Goller 8981c65baf Update libmusicbrainz formula to latest version.
Remove test until a real one can be written.

Closes Homebrew/homebrew#14959.

Signed-off-by: Max Howell <mxcl@me.com>
2012-09-22 00:16:59 -04:00

18 lines
573 B
Ruby

require 'formula'
class Libmusicbrainz < Formula
homepage 'http://musicbrainz.org/doc/libmusicbrainz'
url 'https://github.com/downloads/metabrainz/libmusicbrainz/libmusicbrainz-5.0.1.tar.gz'
sha1 'd4823beeca3faf114756370dc7dd6e3cd01d7e4f'
depends_on 'cmake' => :build
depends_on 'neon'
def install
neon = Formula.factory("neon")
neon_args = %W[-DNEON_LIBRARIES:FILEPATH=#{neon.lib}/libneon.dylib
-DNEON_INCLUDE_DIR:PATH=#{neon.include}/neon]
system "cmake", ".", *(std_cmake_args + neon_args)
system "make install"
end
end