aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Karayev2014-05-21 11:09:05 -0700
committerJack Nagel2014-06-12 12:54:54 -0500
commit182654ece89a9dabde4b3d25751df3c587e14114 (patch)
tree5a1d4df4eb063e7acadffe15cec83e41dd6b8c98
parent2daea58c03eb9ecf0678674783bbd42e7a65b4e3 (diff)
downloadhomebrew-182654ece89a9dabde4b3d25751df3c587e14114.tar.bz2
lmdb 0.9.11
Closes #29458. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/lmdb.rb18
1 files changed, 5 insertions, 13 deletions
diff --git a/Library/Formula/lmdb.rb b/Library/Formula/lmdb.rb
index 881dbb452..d59cac67b 100644
--- a/Library/Formula/lmdb.rb
+++ b/Library/Formula/lmdb.rb
@@ -2,8 +2,8 @@ require 'formula'
class Lmdb < Formula
homepage 'http://symas.com/mdb/'
- url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.35.tgz'
- sha1 'db02243150b050baac6a8ea4145ad73a1f6d2266'
+ url 'https://gitorious.org/mdb/mdb/archive/LMDB_0.9.11.tar.gz'
+ sha1 '8015de70514e8b437b4bc43718a7034101efdc67'
head 'git://git.openldap.org/openldap.git', :branch => 'mdb.master'
@@ -11,20 +11,12 @@ class Lmdb < Formula
# .so -> .dylib
inreplace 'libraries/liblmdb/Makefile', ".so", ".dylib"
- # fix non-POSIX `cp` multiple source files
+ # fix the /share/man/man path
inreplace 'libraries/liblmdb/Makefile' do |s|
- s.gsub! 'cp $(IPROGS) $(DESTDIR)$(prefix)/bin',
- 'for f in $(IPROGS); do cp $$f $(DESTDIR)$(prefix)/bin/; done'
- s.gsub! 'cp $(ILIBS) $(DESTDIR)$(prefix)/lib',
- 'for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib/; done'
- s.gsub! 'cp $(IHDRS) $(DESTDIR)$(prefix)/include',
- 'for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include/; done'
- # also fix the /share/man/man path as well
- s.gsub! 'cp $(IDOCS) $(DESTDIR)$(prefix)/man/man1',
- 'for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/share/man/; done'
+ s.gsub! '$(DESTDIR)$(prefix)/man/man1', '$(DESTDIR)$(prefix)/share/man/man1'
end
- man.mkpath
+ man1.mkpath
bin.mkpath
lib.mkpath
include.mkpath