2009-12-27 13:35:43 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Xspringies < Formula
|
2009-12-27 13:35:43 +00:00
|
|
|
homepage 'http://www.cs.rutgers.edu/~decarlo/software.html'
|
2012-02-09 05:09:15 +00:00
|
|
|
url 'http://www.cs.rutgers.edu/~decarlo/software/xspringies-1.12.tar.Z'
|
2009-12-27 13:35:43 +00:00
|
|
|
md5 '14b14916471874e9d0569ab5f4e8d492'
|
|
|
|
|
|
|
|
def install
|
2010-02-19 19:19:01 +00:00
|
|
|
inreplace 'Makefile.std' do |s|
|
|
|
|
s.change_make_var! "LIBS", '-L/usr/X11/lib -lm -lX11'
|
|
|
|
s.gsub! 'mkdirhier', 'mkdir -p'
|
|
|
|
end
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "-f", "Makefile.std", "DDIR=#{prefix}/", "install"
|
2009-12-27 13:35:43 +00:00
|
|
|
end
|
|
|
|
end
|