aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/musepack.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/musepack.rb b/Library/Formula/musepack.rb
new file mode 100644
index 000000000..2e2434298
--- /dev/null
+++ b/Library/Formula/musepack.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Musepack < Formula
+ homepage 'http://www.musepack.net/'
+ url 'http://files.musepack.net/source/musepack_src_r475.tar.gz'
+ version 'r475'
+ md5 '754d67be67f713e54baf70fcfdb2817e'
+
+ depends_on 'cmake' => :build
+ depends_on 'libcuefile'
+ depends_on 'libreplaygain'
+
+ def install
+ system "cmake . #{std_cmake_parameters}"
+ system "make install"
+ lib.install 'libmpcdec/libmpcdec.dylib'
+ end
+end