aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-23 10:24:17 +0100
committerMike McQuaid2015-01-23 18:05:12 +0100
commit239b02a8397349c7d5704dd74c9f797b15b8025b (patch)
tree16d0e938a8c1d524571d4e89a4aa9d513d7ba358 /Library
parentb501b72529a36d3b5ef24627c07b21fe678a3d8b (diff)
downloadhomebrew-239b02a8397349c7d5704dd74c9f797b15b8025b.tar.bz2
hh 1.15
Closes #36158. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/hh.rb12
1 files changed, 4 insertions, 8 deletions
diff --git a/Library/Formula/hh.rb b/Library/Formula/hh.rb
index 02540aa91..3d3bbd0d4 100644
--- a/Library/Formula/hh.rb
+++ b/Library/Formula/hh.rb
@@ -1,9 +1,7 @@
-require "formula"
-
class Hh < Formula
homepage "https://github.com/dvorka/hstr"
- url "https://github.com/dvorka/hstr/releases/download/1.13/hh-1.13-src.tgz"
- sha1 "09fee6d687a8b8a7c6f508ced071fb88b0a9bb28"
+ url "https://github.com/dvorka/hstr/releases/download/1.15/hh-1.15-src.tgz"
+ sha1 "c97d27687512d1e26828062df300d56159dfa05b"
bottle do
cellar :any
@@ -22,12 +20,10 @@ class Hh < Formula
depends_on "readline"
def install
+ system "autoreconf", "-fvi" if build.head?
# Upstream bug report for curses/ncursesw:
# https://github.com/dvorka/hstr/issues/103
- if build.head?
- inreplace %w(src/hstr.c src/include/hstr_curses.h), "ncursesw/", ""
- system "autoreconf", "-fvi"
- end
+ inreplace %w[src/hstr.c src/include/hstr_curses.h], "ncursesw/", ""
inreplace "configure", "ncursesw", "ncurses"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"