diff options
| author | Adam Vandenberg | 2013-08-06 21:35:29 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-11 22:05:36 -0700 |
| commit | 12401137408d652a874d65597e6c336c3bfbfdd0 (patch) | |
| tree | 08851a9adfe224d150c3bac08150b3926b11f79e /Library/Formula/vera++.rb | |
| parent | 9c03f3e7b259bc2ff52294dca2226ac0c51e8bbf (diff) | |
| download | homebrew-12401137408d652a874d65597e6c336c3bfbfdd0.tar.bz2 | |
vera++: use resource
Diffstat (limited to 'Library/Formula/vera++.rb')
| -rw-r--r-- | Library/Formula/vera++.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/vera++.rb b/Library/Formula/vera++.rb index 2ccd535b7..4706c9ca0 100644 --- a/Library/Formula/vera++.rb +++ b/Library/Formula/vera++.rb @@ -1,11 +1,5 @@ require 'formula' -# Use prebuilt docs to avoid need for pandoc -class VeraMan < Formula - url 'https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1-doc.tar.gz' - sha1 'fce30676c815b99aa66d25c9dfbd2eda2c74bd7a' -end - class Veraxx < Formula homepage 'https://bitbucket.org/verateam/vera' url 'https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1.tar.gz' @@ -14,11 +8,17 @@ class Veraxx < Formula 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' + end + def install system "cmake", ".", *std_cmake_args system "make install" - VeraMan.new.brew do + resource('doc').stage do man1.install 'vera++.1' doc.install 'vera++.html' end |
