homebrew-core/Formula/libmusicbrainz.rb

25 lines
689 B
Ruby
Raw Normal View History

require 'formula'
2009-08-08 12:52:48 +00:00
2011-03-10 05:11:03 +00:00
class Libmusicbrainz < Formula
homepage 'http://musicbrainz.org'
url 'http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.3.tar.gz'
md5 'f4824d0a75bdeeef1e45cc88de7bb58a'
devel do
url 'ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-4.0.0beta1.tar.gz'
md5 '7dffa8fa08e4c0bc8119b8f48a15da41'
version '4.0.0beta1'
end
2009-08-08 12:52:48 +00:00
depends_on 'neon'
depends_on 'cmake' => :build
2009-08-08 12:52:48 +00:00
def install
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
end