httping 2.3.4

Closes Homebrew/homebrew#28653.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Simon Leinen 2014-04-24 00:22:50 +02:00 committed by Adam Vandenberg
parent b4f7f43d00
commit 59b232dac3

View file

@ -2,13 +2,15 @@ require 'formula'
class Httping < Formula
homepage 'http://www.vanheusden.com/httping/'
url 'http://www.vanheusden.com/httping/httping-2.3.3.tgz'
sha1 '6b9e77039346388e2b02dbb1d60f7422e7133488'
url 'http://www.vanheusden.com/httping/httping-2.3.4.tgz'
sha1 '5306d9b56ea89f7c39ee4729c2bbb6d0d867f310'
depends_on 'gettext'
depends_on 'fftw' => :optional
def install
# Reported upstream, see: https://github.com/Homebrew/homebrew/pull/28653
inreplace %w{configure Makefile}, "ncursesw", "ncurses"
ENV.append "LDFLAGS", "-lintl"
inreplace "Makefile", "cp nl.mo $(DESTDIR)/$(PREFIX)/share/locale/nl/LC_MESSAGES/httping.mo", ""
system "make", "install", "PREFIX=#{prefix}"