aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-01-06 14:07:14 +0800
committerMike McQuaid2015-01-06 08:17:05 +0000
commit804514cd130133738d31765997734f16ee1eb6e7 (patch)
tree55f43b35bef3b058268322dd8de6afb45fc0928b /Library
parent789373c71f50cfb041cf8a6521b0eb998463cf42 (diff)
downloadhomebrew-804514cd130133738d31765997734f16ee1eb6e7.tar.bz2
libzip: modernize
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libzip.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/libzip.rb b/Library/Formula/libzip.rb
index f7a25bfa2..41d8a75b7 100644
--- a/Library/Formula/libzip.rb
+++ b/Library/Formula/libzip.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Libzip < Formula
- homepage 'http://www.nih.at/libzip/'
- url 'http://www.nih.at/libzip/libzip-0.11.2.tar.gz'
- sha1 'eeb3b5567fcf3532fa4bcb6440a87c7ad8507d2d'
+ homepage "http://www.nih.at/libzip/"
+ url "http://www.nih.at/libzip/libzip-0.11.2.tar.gz"
+ sha1 "eeb3b5567fcf3532fa4bcb6440a87c7ad8507d2d"
bottle do
cellar :any
@@ -20,6 +18,6 @@ class Libzip < Formula
"--mandir=#{man}",
"CXX=#{ENV.cxx}",
"CXXFLAGS=#{ENV.cflags}"
- system "make install"
+ system "make", "install"
end
end