diff options
| author | Sean Goller | 2012-09-15 16:19:56 -0700 |
|---|---|---|
| committer | Max Howell | 2012-09-22 00:16:59 -0400 |
| commit | fb00e51f2cbe96fc14af8fd0a2f6e4bb91273e85 (patch) | |
| tree | 4bbe9c9b5f978a0f8f5b88bc91347a8065f3280c | |
| parent | 2e2d8e252d52c37b47a9b57afebdb6dab0212ce0 (diff) | |
| download | homebrew-fb00e51f2cbe96fc14af8fd0a2f6e4bb91273e85.tar.bz2 | |
Update libmusicbrainz formula to latest version.
Remove test until a real one can be written.
Closes #14959.
Signed-off-by: Max Howell <mxcl@me.com>
| -rw-r--r-- | Library/Formula/libmusicbrainz.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/libmusicbrainz.rb b/Library/Formula/libmusicbrainz.rb new file mode 100644 index 000000000..4bbeb4194 --- /dev/null +++ b/Library/Formula/libmusicbrainz.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Libmusicbrainz < Formula + homepage 'http://musicbrainz.org/doc/libmusicbrainz' + url 'https://github.com/downloads/metabrainz/libmusicbrainz/libmusicbrainz-5.0.1.tar.gz' + sha1 'd4823beeca3faf114756370dc7dd6e3cd01d7e4f' + + depends_on 'cmake' => :build + depends_on 'neon' + + def install + neon = Formula.factory("neon") + neon_args = %W[-DNEON_LIBRARIES:FILEPATH=#{neon.lib}/libneon.dylib + -DNEON_INCLUDE_DIR:PATH=#{neon.include}/neon] + system "cmake", ".", *(std_cmake_args + neon_args) + system "make install" + end +end |
