aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/xspringies.rb
diff options
context:
space:
mode:
authorAlexis Hildebrandt2009-12-27 14:35:43 +0100
committerMax Howell2010-01-23 12:21:14 +0000
commite42c4ac01ae25ea6578ddd8a55db1ac4cf90c44d (patch)
treea31a79be3ac22b030a25bffb70b484b9ee594e6c /Library/Formula/xspringies.rb
parent3cf08f4fd655c9c2e16e2c89edaf45bbcb4b5e27 (diff)
downloadhomebrew-e42c4ac01ae25ea6578ddd8a55db1ac4cf90c44d.tar.bz2
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
Diffstat (limited to 'Library/Formula/xspringies.rb')
-rw-r--r--Library/Formula/xspringies.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/xspringies.rb b/Library/Formula/xspringies.rb
new file mode 100644
index 000000000..3668a8696
--- /dev/null
+++ b/Library/Formula/xspringies.rb
@@ -0,0 +1,14 @@
+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