mpop: add option for keychain support

Closes Homebrew/homebrew#7926.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Saj Goonatilleke 2011-10-02 00:50:13 +10:00 committed by Jack Nagel
parent 14586d5d57
commit cf8745cb17
1 changed files with 9 additions and 1 deletions

View File

@ -5,8 +5,16 @@ class Mpop < Formula
homepage 'http://mpop.sourceforge.net/'
md5 '40a48d486121a15075faee944a7b8fb7'
def options
[['--with-macosx-keyring', "Support Mac OS X Keyring"]]
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
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