aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-03-17 17:32:51 +0100
committerMike McQuaid2015-03-18 08:07:05 +0000
commitab7608cb2cc4d0a63f6da531eab64843726c0da3 (patch)
tree4678728d62183b24b88c00df5c1559e40f57ed8a /Library/Formula
parent90abb0020e5ef4147cabd8b03229d1fc8736bf79 (diff)
downloadhomebrew-ab7608cb2cc4d0a63f6da531eab64843726c0da3.tar.bz2
ncftp: test added
Closes #37800. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ncftp.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/ncftp.rb b/Library/Formula/ncftp.rb
index 8b8b3e88e..ca3ed7a3f 100644
--- a/Library/Formula/ncftp.rb
+++ b/Library/Formula/ncftp.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Ncftp < Formula
- homepage 'http://www.ncftp.com'
- url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.gz'
- sha1 'b1aafd9291e29c336fcad07ae212fe1b5b2a1c58'
+ homepage "http://www.ncftp.com"
+ url "ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.gz"
+ sha256 "ac111b71112382853b2835c42ebe7bd59acb7f85dd00d44b2c19fbd074a436c4"
def install
# "disable universal" doesn't seem to work.
@@ -16,6 +14,10 @@ class Ncftp < Formula
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/ncftp", "-F"
end
end