Skip to content

Commit

Permalink
Fix indentation, document DATA patch, and switch autoconf and automak…
Browse files Browse the repository at this point in the history
…e to use symbol syntax.
  • Loading branch information
smgoller committed Oct 4, 2012
1 parent c6ab842 commit 7576349
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Library/Formula/unac.rb
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
require 'formula'

class Unac < Formula
Expand All @@ -6,8 +7,8 @@ class Unac < Formula
sha1 '3e779bb7f3b505880ac4f43b48ee2f935ef8aa36'

depends_on 'gettext' => :build
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on :autoconf => :build
depends_on :automake => :build
depends_on :libtool => :build

def patches
Expand All @@ -25,7 +26,7 @@ def install
inreplace "autogen.sh", "libtool", "glibtool"
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
"--prefix=#{prefix}"
system "make install"
end

Expand All @@ -34,6 +35,9 @@ def test
end
end

#
# configure.ac doesn't properly detect Mac OS's iconv library. This patch fixes that.
#
__END__
diff --git a/configure.ac b/configure.ac
index 4a4eab6..9f25d50 100644
Expand Down

0 comments on commit 7576349

Please sign in to comment.