Skip to content

Commit

Permalink
nmh 1.7.1
Browse files Browse the repository at this point in the history
This updates the nmh formula to version 1.7.1.  It also adds
the git repo as buildable using --HEAD, and also adds a dependency
for w3m so HTML email can be displayed properly.

Closes Homebrew#34972.

Signed-off-by: Igor Kapkov <igasgeek@me.com>
  • Loading branch information
kenh authored and Igor Kapkov committed Dec 11, 2018
1 parent 1a78485 commit aed575e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Formula/nmh.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Nmh < Formula
desc "The new version of the MH mail handler"
homepage "https://www.nongnu.org/nmh/"
url "https://download.savannah.gnu.org/releases/nmh/nmh-1.7.tar.gz"
sha256 "cd05c7ca2cae524ae99f6ba673463a5cdeff62df93e85913aa9277ae8304ce44"
url "https://download.savannah.gnu.org/releases/nmh/nmh-1.7.1.tar.gz"
sha256 "f1fb94bbf7d95fcd43277c7cfda55633a047187f57afc6c1bb9321852bd07c11"

bottle do
sha256 "bbc73237ab88dcd93b91beb374b60cd2173dbd46762ad510b785228b7d4b8323" => :mojave
Expand All @@ -11,11 +11,19 @@ class Nmh < Formula
sha256 "0cfd2f3f5a004515700bec2ddd251ddec754f0d28e62416e7b95072543d56d04" => :el_capitan
end

head do
url "https://git.savannah.nongnu.org/git/nmh.git"

depends_on "autoconf" => :build
depends_on "automake" => :build
end

depends_on "openssl"
depends_on "w3m"

def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}", "--libdir=#{libexec}",
"--with-cyrus-sasl",
Expand Down

0 comments on commit aed575e

Please sign in to comment.