aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSteven Scott2012-05-13 11:47:11 -0400
committerMax Howell2012-08-06 17:48:37 -0400
commit46e43f7b1faf50cefa9637d5a307a0706fad2c52 (patch)
tree8664a75aa37623b4c366d6b64fcd08cb72bea952 /Library/Formula
parent2b90f75ded46b86a6401d0f3932b07d9d12811cc (diff)
downloadhomebrew-46e43f7b1faf50cefa9637d5a307a0706fad2c52.tar.bz2
Add the Apple Lossless Audio Codec decoder formula.
Add a formula for the alac binary from http://craz.net/programs/itunes/alac.html. Closes #13017. Signed-off-by: Max Howell <mxcl@me.com> Renamed alac.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/alac.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/alac.rb b/Library/Formula/alac.rb
new file mode 100644
index 000000000..7f2679299
--- /dev/null
+++ b/Library/Formula/alac.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Alac < Formula
+ homepage 'http://craz.net/programs/itunes/alac.html'
+ url 'http://craz.net/programs/itunes/files/alac_decoder-0.2.0.tgz'
+ md5 'cec75c35f010d36e7bed91935b57f2d1'
+
+ def install
+ system "make", "CFLAGS=#{ENV.cflags}", "CC=#{ENV.cc}"
+ bin.install('alac')
+ end
+end