aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorStefan Kersten2010-12-01 16:57:41 +0100
committerMike McQuaid2010-12-02 00:28:50 +0000
commit9e0a571e26e32ef86b6e60415f18a9810429d371 (patch)
tree5857b5ff6abaa1bfd7228d205d06a0168d207dac /Library/Formula
parent883f1e664f50a06339f6df04b6b8770d4c5a6746 (diff)
downloadhomebrew-9e0a571e26e32ef86b6e60415f18a9810429d371.tar.bz2
Add formula for the Judy dynamic array library
From the website: "Judy is a C library that provides a state-of-the-art core technology that implements a sparse dynamic array. Judy arrays are declared simply with a null pointer. A Judy array consumes memory only when it is populated, yet can grow to take advantage of all available memory if desired." Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/judy.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/judy.rb b/Library/Formula/judy.rb
new file mode 100644
index 000000000..fd88100e5
--- /dev/null
+++ b/Library/Formula/judy.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Judy <Formula
+ url 'http://downloads.sourceforge.net/project/judy/judy/judy-1.0.5/judy-1.0.5.tar.gz'
+ homepage 'http://judy.sourceforge.net/'
+ md5 '115a0d26302676e962ae2f70ec484a54'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ ENV.j1 # Doesn't compile on parallel build
+ system "make install"
+ end
+end