c33787d3a2
QDBM is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table or B+ tree. Signed-off-by: David Höppner <0xffea@gmail.com> * correct man path * configure array
20 lines
427 B
Ruby
20 lines
427 B
Ruby
require 'formula'
|
|
|
|
class Qdbm <Formula
|
|
url 'http://qdbm.sourceforge.net/qdbm-1.8.77.tar.gz'
|
|
homepage 'http://qdbm.sourceforge.net/'
|
|
md5 '084e07824e231969356ec7cefac97985'
|
|
|
|
def install
|
|
configure_args = [
|
|
"--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--mandir=#{man}",
|
|
]
|
|
|
|
system "./configure", *configure_args
|
|
system "make mac"
|
|
system "make install-mac"
|
|
end
|
|
end
|