61b2307139
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.
13 lines
327 B
Ruby
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
|