2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libmusicbrainz < Formula
|
2012-04-22 18:42:36 +00:00
|
|
|
homepage 'http://musicbrainz.org/doc/libmusicbrainz'
|
|
|
|
url 'https://github.com/downloads/musicbrainz/libmusicbrainz/libmusicbrainz-4.0.1.tar.gz'
|
|
|
|
md5 '3fe4e869f69dc83a4427b5d5c52580ef'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'neon'
|
2010-11-17 21:40:04 +00:00
|
|
|
depends_on 'cmake' => :build
|
2009-08-08 12:52:48 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-11 20:41:51 +00:00
|
|
|
neon = Formula.factory("neon")
|
2012-05-22 21:37:04 +00:00
|
|
|
neon_args %W[-DNEON_LIBRARIES:FILEPATH=#{neon.lib}/libneon.dylib
|
|
|
|
-DNEON_INCLUDE_DIR:PATH=#{neon.include}/neon]
|
|
|
|
system "cmake", ".", *(std_cmake_args + neon_args)
|
2009-08-08 12:52:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-11-17 21:40:04 +00:00
|
|
|
end
|