ansible-cmdb 1.11

Update ansible-cmdb to version 1.11, and revert fixes that were required
in older releases but have been merged upstream. See:

- Homebrew/homebrew#47671: ansible-cmdb 1.10
- fboender/ansible-cmdb#49: Install manual page as "ansible-cmdb.1"
- fboender/ansible-cmdb#50: Run "mandb" only if it is available

Signed-off-by: Alexander Barton <alex@barton.de>

Closes Homebrew/homebrew#48317.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Alexander Barton 2016-01-21 14:06:42 +01:00 committed by Dominyk Tiller
parent 7f2f894498
commit 840f5c334a

View file

@ -1,8 +1,8 @@
class AnsibleCmdb < Formula
desc "Generates static HTML overview page from Ansible facts"
homepage "https://github.com/fboender/ansible-cmdb"
url "https://github.com/fboender/ansible-cmdb/releases/download/1.10/ansible-cmdb-1.10.zip"
sha256 "9234f77624ba174721ef8d0ecd2717d73fc3a1e9393a65289be29f08ec4b370e"
url "https://github.com/fboender/ansible-cmdb/releases/download/1.11/ansible-cmdb-1.11.zip"
sha256 "6651792bf168fdfadb0e9f0e0404854f10f22ec23fe7b6c2032bc3a3bf846d0f"
bottle do
cellar :any_skip_relocation
@ -20,8 +20,7 @@ class AnsibleCmdb < Formula
inreplace "Makefile" do |s|
s.gsub! "/usr/local/lib/${PROG}", prefix
s.gsub! "/usr/local/bin", bin
s.gsub! "/usr/local/share/man/man1/", man1 + 'ansible-cmdb.1'
s.gsub! "mandb", "#mandb"
s.gsub! "/usr/local/share/man/man1", man1
end
system "make", "install"
end