From 46e43f7b1faf50cefa9637d5a307a0706fad2c52 Mon Sep 17 00:00:00 2001 From: Steven Scott Date: Sun, 13 May 2012 11:47:11 -0400 Subject: 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 Renamed alac. --- Library/Formula/alac.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Library/Formula/alac.rb (limited to 'Library') 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 -- cgit v1.2.3