diff options
| author | dz0004455 | 2010-03-21 02:56:37 -0500 |
|---|---|---|
| committer | David Höppner | 2010-03-22 13:17:06 +0100 |
| commit | e96d8db2ab0a5bece954450d68b48a3a6adcb3f8 (patch) | |
| tree | d6aae6030f2c5c5a4edc6b3a56d8e804cd168424 /Library/Formula | |
| parent | a2ca5777cfbcd1d1656a33eb632c780d98b30d25 (diff) | |
| download | homebrew-e96d8db2ab0a5bece954450d68b48a3a6adcb3f8.tar.bz2 | |
New formula qdbm
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
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qdbm.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/qdbm.rb b/Library/Formula/qdbm.rb new file mode 100644 index 000000000..72334b6e8 --- /dev/null +++ b/Library/Formula/qdbm.rb @@ -0,0 +1,20 @@ +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 |
