From 69370be3cbfb957128dcf492a6b5a86c2b930d47 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 24 Apr 2012 06:54:42 -0700 Subject: [PATCH] libinfinity 0.5.2 --- Formula/libinfinity.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Formula/libinfinity.rb diff --git a/Formula/libinfinity.rb b/Formula/libinfinity.rb new file mode 100644 index 0000000000..ae9eed29f3 --- /dev/null +++ b/Formula/libinfinity.rb @@ -0,0 +1,26 @@ +require 'formula' + +class Libinfinity < Formula + homepage 'http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity' + url 'http://releases.0x539.de/libinfinity/libinfinity-0.5.2.tar.gz' + md5 '1b2eee8150654baa7bba5900b96ffdc3' + + depends_on 'pkg-config' => :build + depends_on 'glib' + depends_on 'gtk+' + depends_on 'gnutls' + depends_on 'libgsasl' + + # MacPorts patch to fix pam include + def patches + { :p0 => [ + "https://trac.macports.org/export/92297/trunk/dports/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff" + ]} + end + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end +end