2010-02-01 08:46:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gmime < Formula
|
2010-02-01 08:46:53 +00:00
|
|
|
homepage 'http://spruce.sourceforge.net/gmime/'
|
2012-09-05 20:56:30 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/gmime/2.4/gmime-2.4.24.tar.bz2'
|
2011-03-27 16:57:25 +00:00
|
|
|
sha256 'e1255dc565416b65e6f8e7b207074b86d955897169eb19a975e90b34ae660c14'
|
2010-02-01 08:46:53 +00:00
|
|
|
|
2011-04-23 17:52:17 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-02-01 08:46:53 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
|
|
|
|
def install
|
2011-04-23 17:34:33 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
2010-08-21 07:28:16 +00:00
|
|
|
"--enable-largefile",
|
2012-08-04 16:20:48 +00:00
|
|
|
"--disable-mono",
|
|
|
|
"--disable-glibtest"
|
2010-02-01 08:46:53 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|