homebrew-core/Formula/x264.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

13 lines
327 B
Ruby

require 'formula'
class X264 <Formula
head 'git://git.videolan.org/x264.git'
depends_on 'yasm'
homepage 'http://www.videolan.org/developers/x264.html'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking","--enable-shared"
system "make install"
end
end