c-kermit: test added
Closes Homebrew/homebrew#38074. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
4f78611229
commit
bc814d03e8
1 changed files with 9 additions and 7 deletions
|
@ -1,13 +1,11 @@
|
|||
require 'formula'
|
||||
|
||||
class CKermit < Formula
|
||||
homepage 'http://www.kermitproject.org/'
|
||||
url 'http://www.kermitproject.org/ftp/kermit/archives/cku302.tar.gz'
|
||||
version '9.0.302'
|
||||
sha1 'd04c8b5600bc0bb0f163d294881f7a5a0d4395b5'
|
||||
homepage "http://www.kermitproject.org/"
|
||||
url "http://www.kermitproject.org/ftp/kermit/archives/cku302.tar.gz"
|
||||
version "9.0.302"
|
||||
sha256 "0d5f2cd12bdab9401b4c836854ebbf241675051875557783c332a6a40dac0711"
|
||||
|
||||
def install
|
||||
system "make macosx"
|
||||
system "make", "macosx"
|
||||
man1.mkpath
|
||||
|
||||
# The makefile adds /man to the end of manroot when running install
|
||||
|
@ -15,4 +13,8 @@ class CKermit < Formula
|
|||
# uses {prefix}/man
|
||||
system "make", "prefix=#{prefix}", "manroot=#{share}", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_equal "#{testpath}", shell_output("#{bin}/kermit -C PWD,exit").chomp
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue