61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
15 lines
No EOL
362 B
Ruby
15 lines
No EOL
362 B
Ruby
require 'formula'
|
|
|
|
class Libmusicbrainz <Formula
|
|
@url='http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-3.0.2.tar.gz'
|
|
@homepage='http://musicbrainz.org'
|
|
@md5='648ecd43f7b80852419aaf73702bc23f'
|
|
|
|
depends_on 'neon'
|
|
depends_on 'libdiscid' => :optional
|
|
|
|
def install
|
|
system "cmake . #{std_cmake_parameters}"
|
|
system "make install"
|
|
end
|
|
end |