blob: 5e9e0a1115f8afad3fdd6ca6525a91d8984e1776 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
require 'formula'
class Aggregate < Formula
homepage 'http://freshmeat.net/projects/aggregate/'
url 'ftp://ftp.isc.org/isc/aggregate/aggregate-1.6.tar.gz'
sha1 '13420baf4f3f93dbed3c380ab6cca175609c5d7d'
conflicts_with 'crush-tools', :because => 'both install an `aggregate` binary'
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
|