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
|
2010-11-17 21:40:04 +00:00
|
|
|
url 'http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.3.tar.gz'
|
2010-06-11 20:41:51 +00:00
|
|
|
homepage 'http://musicbrainz.org'
|
2010-11-17 21:40:04 +00:00
|
|
|
md5 'f4824d0a75bdeeef1e45cc88de7bb58a'
|
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")
|
|
|
|
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
|
2010-11-17 21:40:04 +00:00
|
|
|
end
|