diff options
| author | Dominyk Tiller | 2014-11-03 00:49:27 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-03 08:19:55 +0000 |
| commit | 3a6d1441b0b18c7a13a110491f13b8028d2958ab (patch) | |
| tree | 6f5e166316d28affd033d50ca5772ec3ee7fac04 /Library/Formula | |
| parent | 399475f5a890cf57052d6e1ce3784452c12099e3 (diff) | |
| download | homebrew-3a6d1441b0b18c7a13a110491f13b8028d2958ab.tar.bz2 | |
aget: added head
Additional HEAD to the formula so people can grab the performance fixes
pushed several months ago if desired, given the last stable release was
well… a while ago. Also switched to SHA256 as that is what the aget
website solely displays now.
Closes #33840.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/aget.rb | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Library/Formula/aget.rb b/Library/Formula/aget.rb index 1579d948e..4df9691c2 100644 --- a/Library/Formula/aget.rb +++ b/Library/Formula/aget.rb @@ -1,16 +1,15 @@ -require 'formula' +require "formula" class Aget < Formula - homepage 'http://www.enderunix.org/aget/' - url 'http://www.enderunix.org/aget/aget-0.4.1.tar.gz' - sha1 '6f7bc1676fd506207a1a168c587165b902d9d609' - - patch :p0 do - url "https://trac.macports.org/export/90173/trunk/dports/net/aget/files/patch-Head.c" - sha1 "03999e0c23259ec0ed849e8e0e7e2b16b28a1387" - end + homepage "http://www.enderunix.org/aget/" + url "http://www.enderunix.org/aget/aget-0.4.1.tar.gz" + sha256 "d17393c7f44aab38028ae71f14b572ba1839b6e085fb2092b6ebe68bc931df4d" + head "https://github.com/EnderUNIX/Aget.git" def install + # ENV replaces the MacPorts patch that ensured compile on OS X. + # https://github.com/EnderUNIX/Aget/issues/3 + ENV.append_to_cflags "-D_DARWIN_C_SOURCE" system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", "LDFLAGS=#{ENV.ldflags}" |
