aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bashish.rb16
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/bashish.rb b/Library/Formula/bashish.rb
index b348d907a..530a17f13 100644
--- a/Library/Formula/bashish.rb
+++ b/Library/Formula/bashish.rb
@@ -1,15 +1,17 @@
-require 'formula'
-
class Bashish < Formula
- homepage 'http://bashish.sourceforge.net/'
- url 'https://downloads.sourceforge.net/project/bashish/bashish/2.2.4/bashish-2.2.4.tar.gz'
- sha1 '532ed2a1c1bacafb459c2c7dedf720e9047bd716'
+ homepage "http://bashish.sourceforge.net/"
+ url "https://downloads.sourceforge.net/project/bashish/bashish/2.2.4/bashish-2.2.4.tar.gz"
+ sha1 "532ed2a1c1bacafb459c2c7dedf720e9047bd716"
- depends_on 'dialog'
+ depends_on "dialog"
def install
system "./configure", "--prefix=#{prefix}"
system "make"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/bashish", "list"
end
end