aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2014-12-31 21:19:09 +0800
committerMike McQuaid2014-12-31 14:58:28 +0000
commit948a726423bbafffbf86bf5c2a0e8f66a6a1960c (patch)
tree7de942bd9e98a48a48ce1b81e7367ab891a0f31a
parent20b08aff2b9be4083fc250d2ef7b2c734bfe04c2 (diff)
downloadhomebrew-948a726423bbafffbf86bf5c2a0e8f66a6a1960c.tar.bz2
cpptest: modernize
-rw-r--r--Library/Formula/cpptest.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/cpptest.rb b/Library/Formula/cpptest.rb
index edecc832f..092bfcd72 100644
--- a/Library/Formula/cpptest.rb
+++ b/Library/Formula/cpptest.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Cpptest < Formula
- homepage 'http://cpptest.sourceforge.net/'
- url 'https://downloads.sourceforge.net/project/cpptest/cpptest/cpptest-1.1.2/cpptest-1.1.2.tar.gz'
- sha1 'c8e69ca98f9b39016c94f1f78659f412ee825049'
+ homepage "http://cpptest.sourceforge.net/"
+ url "https://downloads.sourceforge.net/project/cpptest/cpptest/cpptest-1.1.2/cpptest-1.1.2.tar.gz"
+ sha1 "c8e69ca98f9b39016c94f1f78659f412ee825049"
bottle do
cellar :any
@@ -15,6 +13,6 @@ class Cpptest < Formula
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
end
end