homebrew-core/Formula/alac.rb
Steven Scott 6ec51340b4 Add the Apple Lossless Audio Codec decoder formula.
Add a formula for the alac binary from http://craz.net/programs/itunes/alac.html.

Closes Homebrew/homebrew#13017.

Signed-off-by: Max Howell <mxcl@me.com>

Renamed alac.
2012-08-06 17:48:37 -04:00

12 lines
312 B
Ruby

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