diff options
| author | Adam Vandenberg | 2013-11-16 22:54:22 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-16 22:54:22 -0800 |
| commit | a37d284c6deaf52454c54de11cfabef32519c01f (patch) | |
| tree | cc8b10243c7ad451d842affd5648cf647eecbaf1 /Library/Formula | |
| parent | 8541ef552a4daed082f9ad780657591dbff64a52 (diff) | |
| download | homebrew-a37d284c6deaf52454c54de11cfabef32519c01f.tar.bz2 | |
duti 1.5.2
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/duti.rb | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/Library/Formula/duti.rb b/Library/Formula/duti.rb index edec1a83f..2cc804a2e 100644 --- a/Library/Formula/duti.rb +++ b/Library/Formula/duti.rb @@ -2,19 +2,15 @@ require 'formula' class Duti < Formula homepage 'http://duti.org/' - url 'https://github.com/downloads/fitterhappier/duti/duti-1.5.1.tar.gz' - sha1 'ac199f936180a3ac62100ae9a31e107a45330557' - head 'https://github.com/fitterhappier/duti.git' + url 'https://github.com/fitterhappier/duti/archive/duti-1.5.2.tar.gz' + sha1 'c36fcf3b9f48184263456862dfe317d8b1109d6b' - # Replaces arches with the string "@@ARCH@@" so we can fix it post-configure - def patches - DATA - end + depends_on :autoconf def install + system "autoreconf", "-vfi" system "./configure", "--prefix=#{prefix}" - inreplace "Makefile", "@@ARCH@@", MacOS.preferred_arch system "make install" end @@ -22,30 +18,3 @@ class Duti < Formula system "#{bin}/duti", "-x", "txt" end end - -__END__ -diff --git a/configure b/configure -index de1f8e5..de9bcdf 100755 ---- a/configure -+++ b/configure -@@ -2907,17 +2907,17 @@ fi - - darwin10*) - sdk="/Developer/SDKs/MacOSX10.6.sdk" -- macosx_arches="-arch i386 -arch ppc" -+ macosx_arches="-arch @@ARCH@@" - ;; - - darwin11*) - sdk="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" -- macosx_arches="-arch i386 -arch x86_64" -+ macosx_arches="-arch @@ARCH@@" - ;; - - darwin12*) - sdk="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk" -- macosx_arches="-arch i386 -arch x86_64" -+ macosx_arches="-arch @@ARCH@@" - ;; - *) - { { echo "$as_me:$LINENO: error: ${host_os} is not a supported system" >&5 |
