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/'
|
2013-04-15 21:18:30 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/gmime/2.6/gmime-2.6.15.tar.xz'
|
|
|
|
sha256 'b4c2a0b99b82063387cd750a38421ebaa0636f339e67984a84371bcb697dc99a'
|
2010-02-01 08:46:53 +00:00
|
|
|
|
2011-04-23 17:52:17 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-04-15 21:18:30 +00:00
|
|
|
depends_on 'xz' => :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
|