Skip to content

Instantly share code, notes, and snippets.

@dch
dch / couchdb.rb
Created March 18, 2012 22:29
Improved Homebrew recipe for couchdb.rb getting ready for 1.2.0
require 'formula'
class Couchdb < Formula
homepage "http://couchdb.apache.org/"
url 'http://www.apache.org/dyn/closer.cgi?path=couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz'
md5 'cd126219b9cb69a4c521abd6960807a6'
devel do
url 'http://git-wip-us.apache.org/repos/asf/couchdb.git', :using => :git, :tag => '1.2.x'
version '1.2.x'
@dch
dch / couchdb-1.2.0.diff
Created March 21, 2012 13:56
NB the recipes below are now in homebrew apart from OpenSSL 1.0.1 and modified Erlang
diff --git i/Library/Formula/couchdb.rb w/Library/Formula/couchdb.rb
index 3352b28..7c1203d 100644
--- i/Library/Formula/couchdb.rb
+++ w/Library/Formula/couchdb.rb
@@ -1,9 +1,14 @@
require 'formula'
class Couchdb < Formula
- url 'http://www.apache.org/dyn/closer.cgi?path=couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz'
homepage "http://couchdb.apache.org/"