homebrew-core/Formula/aggregate.rb

34 lines
1.2 KiB
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Aggregate < Formula
desc "Optimizes lists of prefixes to reduce list lengths"
homepage "http://freecode.com/projects/aggregate/"
2016-02-28 01:28:57 +00:00
url "https://ftp.isc.org/isc/aggregate/aggregate-1.6.tar.gz"
sha256 "166503005cd8722c730e530cc90652ddfa198a25624914c65dffc3eb87ba5482"
2014-06-29 03:47:43 +00:00
bottle do
2016-02-28 19:03:17 +00:00
cellar :any_skip_relocation
revision 1
sha256 "87507a739f2bd5ba57ccd23b34f2b7c41d68a897c128231dbbc32ba23b869ed5" => :el_capitan
sha256 "813ccd28b00f94e1574079f7f6816858e32c5d8f9a964b783307d25c7e449d2b" => :yosemite
sha256 "169598a0d41382215ba51ed0c377c98857804e82fb1658414dd04ee94ddbb993" => :mavericks
2014-06-29 03:47:43 +00:00
end
# Note - Freecode is no longer being updated & an alternative homepage should be found if possible.
conflicts_with "crush-tools", :because => "both install an `aggregate` binary"
2013-11-08 06:29:59 +00:00
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