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>
This commit is contained in:
parent
956a34f209
commit
d638916f15
1 changed files with 14 additions and 0 deletions
14
Formula/judy.rb
Normal file
14
Formula/judy.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue