Permalink
Browse files

Add Logstalgia 1.0.2 formula.

Closes #3800.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information...
1 parent 9c95508 commit 7aa41cd1ad2a929be2d175cbf051ca6f497f5a59 @jabley committed with MikeMcQuaid Jan 2, 2011
Showing with 30 additions and 0 deletions.
  1. +30 −0 Library/Formula/logstalgia.rb
@@ -0,0 +1,30 @@
+require 'formula'
+
+class Logstalgia <Formula
+ url 'http://logstalgia.googlecode.com/files/logstalgia-1.0.2.tar.gz'
+ head 'git://github.com/acaudwell/Logstalgia.git'
+ homepage 'http://code.google.com/p/logstalgia/'
+ md5 'c72fcff8fd507bee6c1aebf80d24009c'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'sdl'
+ depends_on 'sdl_image'
+ depends_on 'ftgl'
+ depends_on 'jpeg'
+ depends_on 'pcre'
+
+ def install
+ ENV.x11 # Put freetype-config in path
+
+ # For non-/usr/local installs
+ ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include"
+
+ # Handle building head.
+ system "autoreconf -f -i" unless File.exist? "configure"
+
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end

0 comments on commit 7aa41cd

Please sign in to comment.