diff options
| author | Renaud (Nel) Morvan | 2010-12-06 21:53:31 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-12-06 13:07:18 -0800 |
| commit | dd940f2992fbfa1e9408ec7a3d1ff52c6e04c421 (patch) | |
| tree | fcb72b817216481fb638c56f87503345c5491742 /Library/Formula | |
| parent | 30d5c1f940afcef8c27adcca468840225810d6eb (diff) | |
| download | homebrew-dd940f2992fbfa1e9408ec7a3d1ff52c6e04c421.tar.bz2 | |
Update formula: siege 2.70
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/siege.rb | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Library/Formula/siege.rb b/Library/Formula/siege.rb index 6a273549b..1a255a966 100644 --- a/Library/Formula/siege.rb +++ b/Library/Formula/siege.rb @@ -1,21 +1,18 @@ require 'formula' class Siege <Formula - url "ftp://ftp.joedog.org/pub/siege/siege-2.69.tar.gz" + url "ftp://ftp.joedog.org/pub/siege/siege-2.70.tar.gz" homepage 'http://www.joedog.org/index/siege-home' - sha1 'f0514eefe4e024ee059b09ab50903bbced79f3b9' - - def etc - # NOTE this is because line 101 in init.c in the source code of Siege - # ignores the --sysconfdir setting, and instead looks here. - # So coupled with the fact the etc directory location is a little up in the - # air currently. This seems like the best solution for now. - prefix+'etc' - end + sha1 'ee0a0c3a9e6559cf8cbaf717649f6684b0d9643a' def install - etc.mkpath - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--sysconfdir=#{etc}", "--with-ssl" + #to avoid unnecessary warning due to hardcoded path + (prefix+'etc').mkdir + system "./configure", + "--prefix=#{prefix}", + "--mandir=#{man}", + "--localstatedir=#{var}", + "--with-ssl" system "make install" end |
