aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorZigmund Ozea2013-12-13 18:52:56 -0500
committerMike McQuaid2014-01-05 14:16:16 +0000
commit7be17eb0b2e8d663a05f34754d577dfe199c03a6 (patch)
tree5da47953e110e6019138004099f4653dd4fd28cf /Library/Formula
parent6e8fe0f7c6da46140f3c3bbca216185c4b6b81a0 (diff)
downloadhomebrew-7be17eb0b2e8d663a05f34754d577dfe199c03a6.tar.bz2
mal4s 1.1.0 (new formula)
Mal4s is an open source OpenGL visualization tool with many uses. It is based on Gource by Andrew Caudwell and adapted to support virtually unlimited types of branching datasets such as web domains, ant colonies, the growth of a company, etc. #25476 Closes #25476. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mal4s.rb38
1 files changed, 38 insertions, 0 deletions
diff --git a/Library/Formula/mal4s.rb b/Library/Formula/mal4s.rb
new file mode 100644
index 000000000..89dcdb97f
--- /dev/null
+++ b/Library/Formula/mal4s.rb
@@ -0,0 +1,38 @@
+require 'formula'
+
+class Mal4s < Formula
+ homepage 'https://github.com/secure411dotorg/mal4s/'
+ url 'https://service.dissectcyber.com/mal4s/mal4s-1.1.0.tar.gz'
+ sha1 '6431784384b11deaf4448b7f94bbb6eb4877a66e'
+
+ head 'https://github.com/secure411dotorg/mal4s.git'
+
+ depends_on :macos => :mavericks
+ depends_on :automake
+ depends_on :autoconf
+ depends_on :libtool
+ depends_on :x11 => :optional
+ depends_on :freetype
+ depends_on 'pkg-config' => :build
+ depends_on 'glm' => :build
+ depends_on 'boost'
+ depends_on 'glew'
+ depends_on 'jpeg'
+ depends_on 'pcre'
+ depends_on 'sdl2'
+ depends_on 'sdl2_image'
+ depends_on 'sdl2_mixer'
+
+ def install
+ args = ["--disable-dependency-tracking",
+ "--prefix=#{prefix}"]
+ args << "--without-x" unless build.with? 'x11'
+ system "autoreconf", "-f", "-i"
+ system "./configure", *args
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/mal4s", "--help"
+ end
+end