aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/musepack.rb
diff options
context:
space:
mode:
authorChris Ballinger2011-12-26 16:43:08 -0500
committerAdam Vandenberg2012-03-18 14:29:26 -0700
commit68e02c8aa20a46aa6aaa1166a0af66e8526f039c (patch)
tree86637782612c1294950f6b7d7e374bf66d2a56dd /Library/Formula/musepack.rb
parent4e95a7744fda1c2f9f07c7c48266a3cdbd3f5b3c (diff)
downloadhomebrew-68e02c8aa20a46aa6aaa1166a0af66e8526f039c.tar.bz2
musepack r475
Closes #9289. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/musepack.rb')
-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