Skip to content

Instantly share code, notes, and snippets.

@miketheman
Created December 12, 2020 21:20
Show Gist options
  • Save miketheman/3ce08e18371766f9775da3521bf29629 to your computer and use it in GitHub Desktop.
Save miketheman/3ce08e18371766f9775da3521bf29629 to your computer and use it in GitHub Desktop.
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