homebrew-core/Formula/mdp.rb
BrewTestBot af8cf5a0af mdp: add 0.91.3 bottle.
Closes Homebrew/homebrew#32699.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-01 23:29:29 -07:00

26 lines
685 B
Ruby

require "formula"
class Mdp < Formula
homepage "https://github.com/visit1985/mdp"
url "https://github.com/visit1985/mdp/archive/0.91.3.tar.gz"
sha1 "e8a0264068c21df1f00e391ec22e674141fddcc1"
bottle do
cellar :any
sha1 "cc6da77fce8cc33d8e563d8069b07eb7de147601" => :mavericks
sha1 "ea647ad8b94575a91125c0b967c02ab8cdf141b2" => :mountain_lion
sha1 "7394b1dc8b9aa4e96debb0af0e75dca8828d119c" => :lion
end
def install
system "make"
system "make", "install", "DESTDIR=#{bin}"
share.install "sample.md"
end
test do
# Go through two slides and quit.
ENV["TERM"] = "xterm"
system "echo jjq | #{bin}/mdp #{share}/sample.md"
end
end