Skip to content

Commit

Permalink
vera++: 1.3.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#36133.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
glehmann authored and jacknagel committed Jan 25, 2015
1 parent c773b66 commit f77aa14
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Formula/vera++.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@

class Veraxx < Formula
homepage "https://bitbucket.org/verateam/vera"
url "https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1.tar.gz"
sha1 "0bf7d463dabe41c2069dbe2fa4f7fca192cb7d6e"
url "https://bitbucket.org/verateam/vera/downloads/vera++-1.3.0.tar.gz"
sha1 "696c143e42df6854c9e5674b9e713fa8b9dae6f0"

bottle do
end

depends_on "cmake" => :build
depends_on "boost"

# Use prebuilt docs to avoid need for pandoc
resource "doc" do
url "https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1-doc.tar.gz"
sha1 "fce30676c815b99aa66d25c9dfbd2eda2c74bd7a"
url "https://bitbucket.org/verateam/vera/downloads/vera++-1.3.0-doc.tar.gz"
sha1 "627c210b25df61a07f049988316fff7b007eaafe"
end

def install
system "cmake", ".", *std_cmake_args
# don't use system lua to avoid a dependency on lua 5.1
system "cmake", ".", "-DVERA_USE_SYSTEM_LUA:BOOL=OFF", *std_cmake_args
system "make install"
system "ctest"

resource("doc").stage do
man1.install "vera++.1"
Expand Down

0 comments on commit f77aa14

Please sign in to comment.