homebrew-core/Formula/gource.rb

41 lines
938 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Gource < Formula
homepage 'http://code.google.com/p/gource/'
url 'http://gource.googlecode.com/files/gource-0.40.tar.gz'
sha1 '7af594f84c0ec4c84278a8e9008f83a7a02e97fa'
2012-07-07 18:08:22 +00:00
2013-09-20 15:15:54 +00:00
head do
url 'https://github.com/acaudwell/Gource.git'
2013-11-13 17:01:29 +00:00
depends_on :autoconf
2012-07-07 18:08:22 +00:00
depends_on :automake
depends_on :libtool
end
depends_on :x11 if MacOS::X11.installed?
2012-08-31 20:58:04 +00:00
depends_on :freetype
2012-07-07 18:08:22 +00:00
depends_on 'pkg-config' => :build
depends_on 'glm' => :build
depends_on 'boost'
depends_on 'glew'
depends_on 'jpeg'
depends_on 'pcre'
depends_on 'sdl'
depends_on 'sdl_image'
def install
# For non-/usr/local installs
ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include"
2012-08-31 20:58:04 +00:00
system "autoreconf -f -i" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-x"
system "make install"
end
end