aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cdb.rb
diff options
context:
space:
mode:
authorDavid Höppner2010-08-29 16:27:35 +0200
committerDavid Höppner2010-08-29 16:27:35 +0200
commite0d2d6554a5c05faf4e6ff3fcbac7e7b950b6534 (patch)
tree50d893d6019ed2f488ba057bc8c2d5ca80a15877 /Library/Formula/cdb.rb
parentfcb705be3745d2f2cae2e1e1038c43cd2bed6da7 (diff)
downloadhomebrew-e0d2d6554a5c05faf4e6ff3fcbac7e7b950b6534.tar.bz2
New formula cdb
cdb is a fast, reliable, simple package for creating and reading constant databases.
Diffstat (limited to 'Library/Formula/cdb.rb')
-rw-r--r--Library/Formula/cdb.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/cdb.rb b/Library/Formula/cdb.rb
new file mode 100644
index 000000000..9bb34509f
--- /dev/null
+++ b/Library/Formula/cdb.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Cdb <Formula
+ url 'http://cr.yp.to/cdb/cdb-0.75.tar.gz'
+ homepage 'http://cr.yp.to/cdb.html'
+ md5 '81fed54d0bde51b147dd6c20cdb92d51'
+
+ def install
+ inreplace "conf-home", "/usr/local", "#{prefix}"
+ system "make setup"
+ end
+end