2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
|
|
|
class Libmusicbrainz <Formula
|
2010-06-11 20:41:51 +00:00
|
|
|
url 'http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.2.tar.gz'
|
|
|
|
homepage 'http://musicbrainz.org'
|
|
|
|
md5 '648ecd43f7b80852419aaf73702bc23f'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'neon'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-11 20:41:51 +00:00
|
|
|
neon = Formula.factory("neon")
|
|
|
|
neon_args = "-DNEON_LIBRARIES:FILEPATH=#{neon.lib}/libneon.dylib -DNEON_INCLUDE_DIR:PATH=#{neon.include}/neon"
|
|
|
|
|
|
|
|
system "cmake . #{std_cmake_parameters} #{neon_args}"
|
2009-08-08 12:52:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|