aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/di.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/di.rb b/Library/Formula/di.rb
new file mode 100644
index 000000000..1843d7419
--- /dev/null
+++ b/Library/Formula/di.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Di < Formula
+ homepage 'http://www.gentoo.com/di/'
+ url 'http://gentoo.com/di/di-4.31.tar.gz'
+ md5 'f324ec49888c6c642c998ee8c3a8ce21'
+
+ def install
+ system "make", "prefix=#{prefix}", "DI_MANDIR=#{man1}"
+ system "make", "install", "prefix=#{prefix}", "DI_MANDIR=#{man1}"
+ end
+
+ def test
+ system "#{bin}/di"
+ end
+end