aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2014-12-28 23:09:57 +0800
committerMike McQuaid2014-12-28 20:01:55 +0000
commit105c1e79bb0785d23d0796b1df255f2fb8647784 (patch)
tree26430f279db5e5fff72d056d163b89619c3b4105 /Library
parent002294f7753a58e958877ccfc1943c104558638e (diff)
downloadhomebrew-105c1e79bb0785d23d0796b1df255f2fb8647784.tar.bz2
nettle: modernize
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nettle.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/nettle.rb b/Library/Formula/nettle.rb
index 52c0b4c07..268993b3b 100644
--- a/Library/Formula/nettle.rb
+++ b/Library/Formula/nettle.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Nettle < Formula
- homepage 'http://www.lysator.liu.se/~nisse/nettle/'
- url 'http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz'
- sha1 'e7477df5f66e650c4c4738ec8e01c2efdb5d1211'
+ homepage "http://www.lysator.liu.se/~nisse/nettle/"
+ url "http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz"
+ sha1 "e7477df5f66e650c4c4738ec8e01c2efdb5d1211"
bottle do
cellar :any
@@ -14,14 +12,14 @@ class Nettle < Formula
sha1 "6c56084887da5b7e99d7c730bf22a68c9af360e9" => :lion
end
- depends_on 'gmp'
+ depends_on "gmp"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-shared"
system "make"
- system "make install"
- system "make check"
+ system "make", "install"
+ system "make", "check"
end
end