homebrew-core/Formula/aggregate.rb

23 lines
655 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Aggregate < Formula
homepage 'http://freshmeat.net/projects/aggregate/'
url 'ftp://ftp.isc.org/isc/aggregate/aggregate-1.6.tar.gz'
md5 '6fcc515388bf2c5b0c8f9f733bfee7e1'
def install
bin.mkpath
man1.mkpath
# Makefile doesn't respect --mandir or MANDIR
inreplace "Makefile.in", "$(prefix)/man/man1", "$(prefix)/share/man/man1"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "CFLAGS=#{ENV.cflags}",
"LDFLAGS=#{ENV.ldflags}",
"install"
end
end