2012-04-10 05:13:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pan < Formula
|
|
|
|
homepage 'http://pan.rebelbase.com/'
|
2012-08-18 02:37:53 +00:00
|
|
|
url 'http://pan.rebelbase.com/download/releases/0.139/source/pan-0.139.tar.bz2'
|
|
|
|
sha1 '01ea0361a6d81489888e6abb075fd552999c3c60'
|
2012-04-10 05:13:20 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'gmime'
|
2012-08-18 02:37:53 +00:00
|
|
|
depends_on 'intltool'
|
2012-04-10 05:13:20 +00:00
|
|
|
depends_on 'enchant' => :optional
|
|
|
|
depends_on 'dbus' => :optional
|
|
|
|
depends_on 'gnutls' => :optional
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.x11
|
|
|
|
ENV.append 'LDFLAGS', ' -liconv ' # iconv detection is broken.
|
|
|
|
|
2012-08-18 02:37:53 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-04-10 05:13:20 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|