Created
September 29, 2011 12:56
-
-
Save ushiushix/1250675 to your computer and use it in GitHub Desktop.
Homebrew formula for Mew 6.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note: | |
# To install git-head of mew: | |
# brew install --ignore-dependencies --HEAD mew | |
# If you omit --ignore-dependencies, brew will try to install Emacs head as well. | |
require 'formula' | |
class Mew < Formula | |
url 'http://www.mew.org/Release/mew-6.3.tar.gz' | |
homepage 'http://www.mew.org' | |
md5 'a0ca3b478dbad44d5a7e09083e323ccc' | |
depends_on 'emacs' | |
head 'git://github.com/kazu-yamamoto/Mew.git' | |
def install | |
system "./configure", "--prefix=#{prefix}" | |
system "make install" | |
system "make install-info" | |
system "make install-jinfo" | |
end | |
def test | |
# this will fail we won't accept that, make it test the program works! | |
system "/usr/bin/false" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment