homebrew-core/Formula/xspringies.rb
Alexis Hildebrandt 303e40def5 Xspringies 1.12
Interactive 2D mass/spring simulation system for X windows.

NOTE: This brew needs support for compress compressed tarballs
as added by 63c1ca9b07d24bfa71057117c42dbca7908d355f
2010-01-23 12:21:14 +00:00

14 lines
460 B
Ruby

require 'formula'
class Xspringies <Formula
url 'http://www.cs.rutgers.edu/~decarlo/software/xspringies-1.12.tar.Z'
homepage 'http://www.cs.rutgers.edu/~decarlo/software.html'
md5 '14b14916471874e9d0569ab5f4e8d492'
version '1.12'
def install
inreplace 'Makefile.std', 'LIBS = -lm -lX11', 'LIBS = -L/usr/X11/lib -lm -lX11'
inreplace 'Makefile.std', 'mkdirhier', 'mkdir -p'
system "make -f Makefile.std DDIR=#{prefix}/ install"
end
end