Permalink
Browse files

Migrate Formula: berkeley-db4

  • Loading branch information...
1 parent ab8473c commit 084d6d386a36cabf34cce1c56471714dec32fa5d @Sharpie Sharpie committed Nov 1, 2012
Showing with 0 additions and 32 deletions.
  1. +0 −32 berkeley-db4.rb
View
32 berkeley-db4.rb
@@ -1,32 +0,0 @@
-require 'formula'
-
-class BerkeleyDb4 < Formula
- homepage 'http://www.oracle.com/technology/products/berkeley-db/index.html'
- url 'http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz'
- sha1 'ab36c170dda5b2ceaad3915ced96e41c6b7e493c'
-
- def options
- [['--without-java', 'Compile without Java support.']]
- end
-
- def install
- # BerkeleyDB dislikes parallel builds
- ENV.deparallelize
-
- args = ["--disable-debug",
- "--prefix=#{prefix}",
- "--mandir=#{man}",
- "--enable-cxx"]
- args << "--enable-java" unless ARGV.include? "--without-java"
-
- # BerkeleyDB requires you to build everything from the build_unix subdirectory
- cd 'build_unix' do
- system "../dist/configure", *args
- system "make install"
-
- # use the standard docs location
- doc.parent.mkpath
- mv prefix+'docs', doc
- end
- end
-end

0 comments on commit 084d6d3

Please sign in to comment.