diff options
| author | Xu Cheng | 2015-01-02 13:32:07 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-02 09:51:12 +0000 |
| commit | d8dd9da7966abc5edf1f9f6612ecfd7c6a0d0ffd (patch) | |
| tree | 8d35ae21558cbf86e2886a31c75ddceb2e1709fb /Library | |
| parent | 726e9fabfc814a46c54111fa4acacdc415effc3e (diff) | |
| download | homebrew-d8dd9da7966abc5edf1f9f6612ecfd7c6a0d0ffd.tar.bz2 | |
patchutils: modernize
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/patchutils.rb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/patchutils.rb b/Library/Formula/patchutils.rb index 1b683433f..1137111de 100644 --- a/Library/Formula/patchutils.rb +++ b/Library/Formula/patchutils.rb @@ -1,19 +1,17 @@ -require 'formula' - class Patchutils < Formula - homepage 'http://cyberelk.net/tim/software/patchutils/' - url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.3.tar.xz' - sha1 '89d3f8a454bacede1b9a112b3a13701ed876fcc1' + homepage "http://cyberelk.net/tim/software/patchutils/" + url "http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.3.tar.xz" + sha1 "89d3f8a454bacede1b9a112b3a13701ed876fcc1" # Fix 'filterdiff --exclude-from-file...' crashes # https://fedorahosted.org/patchutils/ticket/30 patch do - url 'https://fedorahosted.org/patchutils/raw-attachment/ticket/30/0001-Provide-NULL-pointer-to-getline-to-avoid-realloc-ing.patch' - sha1 'e787c8df1501feea5c895cdf9e8e01441035bdcf' + url "https://fedorahosted.org/patchutils/raw-attachment/ticket/30/0001-Provide-NULL-pointer-to-getline-to-avoid-realloc-ing.patch" + sha1 "e787c8df1501feea5c895cdf9e8e01441035bdcf" end def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" end end |
