Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample Homebrew forumla for Hypermail http://www.hypermail-project.org/
class Hypermail < Formula
desc "Hypermail is a free (GPL) program to convert email from Unix mbox format to html."
homepage "http://www.hypermail-project.org/"
url "https://github.com/hypermail-project/hypermail/releases/download/v2.4.0/hypermail-2.4.0.tar.gz"
sha256 "f97995b9bb1ece888968467cdad05e3daa7662ff3e3a5739e378b4f3adeb26c6"
license "GPL-2.0"
depends_on "bison" => :build
depends_on "gcc"
depends_on "gdbm"
depends_on "pcre"
fails_with :clang do
cause "TBD"
end
def install
# Remove unrecognized options if warned by configure
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
# system "make", "install"
end
test do
system "#{bin}/hypermail", "--version"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment