vera++ 1.2.0
Closes Homebrew/homebrew#20240. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
bd046c5ea1
commit
2a2471210c
1 changed files with 30 additions and 0 deletions
30
Formula/vera++.rb
Normal file
30
Formula/vera++.rb
Normal file
|
@ -0,0 +1,30 @@
|
|||
require 'formula'
|
||||
|
||||
# Use prebuilt docs to avoid need for pandoc
|
||||
class VeraMan < Formula
|
||||
url 'https://bitbucket.org/verateam/vera/downloads/vera++-1.2.0-doc.tar.gz'
|
||||
sha1 '3c1dfd167928fb1d7c0d3c55830c7f4d5a2a61ae'
|
||||
end
|
||||
|
||||
class Veraxx < Formula
|
||||
homepage 'https://bitbucket.org/verateam/vera'
|
||||
url 'https://bitbucket.org/verateam/vera/downloads/vera++-1.2.0.tar.gz'
|
||||
sha1 '2c882c794761aa10867cdf30fb1e052e9f0c56d6'
|
||||
|
||||
depends_on 'cmake' => :build
|
||||
depends_on 'boost'
|
||||
|
||||
def install
|
||||
system "cmake", ".", *std_cmake_args
|
||||
system "make install"
|
||||
|
||||
VeraMan.new.brew do
|
||||
man1.install 'vera++.1'
|
||||
doc.install 'vera++.html'
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
`#{bin}/vera++ --version`.chomp == '1.2.0'
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue