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-06-11 20:41:51 +00:00
|
|
|
homepage 'http://musicbrainz.org'
|
2012-01-23 04:32:15 +00:00
|
|
|
url 'http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.3.tar.gz'
|
|
|
|
md5 'f4824d0a75bdeeef1e45cc88de7bb58a'
|
|
|
|
|
|
|
|
devel do
|
2011-07-03 18:30:45 +00:00
|
|
|
url 'ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-4.0.0beta1.tar.gz'
|
|
|
|
md5 '7dffa8fa08e4c0bc8119b8f48a15da41'
|
2012-01-23 04:32:15 +00:00
|
|
|
version '4.0.0beta1'
|
2011-07-03 18:30:45 +00:00
|
|
|
end
|
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"
|
|
|
|
|
2012-02-22 05:12:27 +00:00
|
|
|
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
|