Skip to content

Instantly share code, notes, and snippets.

@kyoma-
Created December 2, 2024 07:55
Show Gist options
  • Save kyoma-/376cc8f738bf95559f1c8e05ce2c37cf to your computer and use it in GitHub Desktop.
Save kyoma-/376cc8f738bf95559f1c8e05ce2c37cf to your computer and use it in GitHub Desktop.
# https://docs.brew.sh/Adding-Software-to-Homebrew
# brew create http://www.mew.org/Release/mew-6.9a.tar.gz
# export HOMEBREW_NO_INSTALL_FROM_API=1
# brew install --build-from-source mew
# https://qiita.com/h12o/items/df6f7beded0da0a065f3
class Mew < Formula
homepage "https://mew.org"
url "http://www.mew.org/Release/mew-6.9a.tar.gz"
sha256 "84bd96c3a893207ce5fee26337ea188be13f076b57673d719b315d1971c94b89"
def install
system "./configure", "--disable-silent-rules", *std_configure_args, "--with-emacs=/opt/homebrew/bin/emacs"
system "make"
system "make", "jinfo"
system "make", "install"
system "make", "install-jinfo"
end
test do
system "mewl", "-v"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment