homebrew-core/Formula/aget.rb
Jack Nagel 5b9ace578e aget: use MacPorts patch
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-24 19:40:54 -06:00

19 lines
495 B
Ruby

require 'formula'
class Aget < Formula
homepage 'http://www.enderunix.org/aget/'
url 'http://www.enderunix.org/aget/aget-0.4.1.tar.gz'
md5 'ddee95ad1d394a4751ebde24fcb36fa1'
def patches
{ :p0 => "https://trac.macports.org/export/90173/trunk/dports/net/aget/files/patch-Head.c" }
end
def install
system "make", "CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
"LDFLAGS=#{ENV.ldflags}"
bin.install "aget"
man1.install "aget.1"
end
end