homebrew-core/Formula/libmusicbrainz.rb

19 lines
517 B
Ruby
Raw Normal View History

require 'formula'
2009-08-08 12:52:48 +00:00
class Libmusicbrainz <Formula
url 'http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.3.tar.gz'
homepage 'http://musicbrainz.org'
md5 'f4824d0a75bdeeef1e45cc88de7bb58a'
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"
system "cmake . #{std_cmake_parameters} #{neon_args}"
2009-08-08 12:52:48 +00:00
system "make install"
end
end