7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
32 lines
844 B
Ruby
32 lines
844 B
Ruby
require 'formula'
|
|
|
|
class Gource <Formula
|
|
homepage 'http://code.google.com/p/gource/'
|
|
url 'git://github.com/acaudwell/Gource.git', :tag => "24feaee4"
|
|
version "0.27"
|
|
head 'git://github.com/acaudwell/Gource.git'
|
|
|
|
depends_on 'pkg-config'
|
|
depends_on 'sdl'
|
|
depends_on 'sdl_image'
|
|
depends_on 'ftgl'
|
|
depends_on 'jpeg'
|
|
depends_on 'libpng'
|
|
depends_on 'pcre'
|
|
depends_on 'glew'
|
|
|
|
def install
|
|
ENV.x11 # Put freetype-config in path
|
|
|
|
# For non-/usr/local installs
|
|
ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include"
|
|
|
|
system "autoreconf -f -i" unless File.exist? "configure"
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-sdltest",
|
|
"--disable-freetypetest"
|
|
system "make install"
|
|
end
|
|
end
|