homebrew-core/Formula/mpop.rb
Saj Goonatilleke cf8745cb17 mpop: add option for keychain support
Closes Homebrew/homebrew#7926.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 19:58:55 -06:00

20 lines
561 B
Ruby

require 'formula'
class Mpop < Formula
url 'http://downloads.sourceforge.net/project/mpop/mpop/1.0.19/mpop-1.0.19.tar.bz2'
homepage 'http://mpop.sourceforge.net/'
md5 '40a48d486121a15075faee944a7b8fb7'
def options
[['--with-macosx-keyring', "Support Mac OS X Keyring"]]
end
def install
args = [ "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking"]
args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
system "./configure", *args
system "make install"
end
end