aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-25 07:26:14 -0700
committerAdam Vandenberg2014-05-25 07:26:14 -0700
commit2d68dae14b1a1651061abcc073c51672406814df (patch)
tree35bc5b7ec8d1af987c562d602ec1eadf5167b59d /Library/Formula
parente8247fda1134d67dac586f3b22b36d23a49fc635 (diff)
downloadhomebrew-2d68dae14b1a1651061abcc073c51672406814df.tar.bz2
libgcrypt: quotes
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libgcrypt.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/Library/Formula/libgcrypt.rb b/Library/Formula/libgcrypt.rb
index a2ffea357..d80b179a0 100644
--- a/Library/Formula/libgcrypt.rb
+++ b/Library/Formula/libgcrypt.rb
@@ -1,9 +1,9 @@
-require 'formula'
+require "formula"
class Libgcrypt < Formula
- homepage 'http://gnupg.org/'
- url 'ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.1.tar.bz2'
- sha1 'f03d9b63ac3b17a6972fc11150d136925b702f02'
+ homepage "http://gnupg.org/"
+ url "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.1.tar.bz2"
+ sha1 "f03d9b63ac3b17a6972fc11150d136925b702f02"
bottle do
cellar :any
@@ -12,14 +12,14 @@ class Libgcrypt < Formula
sha1 "f0c2d69e6552d69fa59342613831b96085ebd85e" => :lion
end
- depends_on 'libgpg-error'
+ depends_on "libgpg-error"
option :universal
- resource 'config.h.ed' do
- url 'http://trac.macports.org/export/113198/trunk/dports/devel/libgcrypt/files/config.h.ed'
- version '113198'
- sha1 '136f636673b5c9d040f8a55f59b430b0f1c97d7a'
+ resource "config.h.ed" do
+ url "http://trac.macports.org/export/113198/trunk/dports/devel/libgcrypt/files/config.h.ed"
+ version "113198"
+ sha1 "136f636673b5c9d040f8a55f59b430b0f1c97d7a"
end if build.universal?
def install
@@ -31,13 +31,13 @@ class Libgcrypt < Formula
"--with-gpg-error-prefix=#{Formula["libgpg-error"].opt_prefix}"
if build.universal?
- buildpath.install resource('config.h.ed')
+ buildpath.install resource("config.h.ed")
system "ed -s - config.h <config.h.ed"
end
# Parallel builds work, but only when run as separate steps
system "make"
- system "make check"
- system "make install"
+ system "make", "check"
+ system "make", "install"
end
end