aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2011-09-02 17:57:44 -0500
committerJack Nagel2011-11-10 21:27:36 -0600
commitd34c9eebced87d56061403a54bc2d04bfdbeb00b (patch)
tree9d3ab852a6bd5d2d8b5c13b0a2aa38b407583b30 /Library/Formula
parente1d3bb1eab1d38dcfe84ccc557f68c56a8a1fe37 (diff)
downloadhomebrew-d34c9eebced87d56061403a54bc2d04bfdbeb00b.tar.bz2
libidn: build universal
libidn is a dependency of the GnuTLS 3.x series, and even though we probably won't move to 3.x anytime soon, it's good to get the dependencies up to snuff and work out any problems that might arise. I also added a test of the executable while I was here. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libidn.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/libidn.rb b/Library/Formula/libidn.rb
index f0b69582e..04e087bfd 100644
--- a/Library/Formula/libidn.rb
+++ b/Library/Formula/libidn.rb
@@ -8,9 +8,14 @@ class Libidn < Formula
depends_on 'pkg-config' => :build
def install
+ ENV.universal_binary
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-csharp"
system "make install"
end
+
+ def test
+ system "#{bin}/idn --version"
+ end
end