2009-12-28 12:21:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gwenhywfar < Formula
|
2011-02-16 10:03:05 +00:00
|
|
|
homepage 'http://www.aqbanking.de/'
|
2012-06-06 00:56:30 +00:00
|
|
|
url 'http://www.aquamaniac.de/sites/download/download.php?package=01&release=67&file=01&dummy=gwenhywfar-4.3.3.tar.gz'
|
|
|
|
sha1 'c2ba4c45f1eeb379db6c2ae09122c592893f3bd0'
|
|
|
|
|
2011-06-25 08:22:58 +00:00
|
|
|
head 'http://devel.aqbanking.de/svn/gwenhywfar/trunk'
|
2009-12-28 12:21:22 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-07-24 04:34:02 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gnutls'
|
2012-11-14 07:48:19 +00:00
|
|
|
depends_on 'libgcrypt'
|
2013-02-03 00:10:31 +00:00
|
|
|
depends_on 'gtk+' => :optional
|
|
|
|
depends_on 'qt' => :optional
|
2010-09-21 09:24:52 +00:00
|
|
|
|
2009-12-28 12:21:22 +00:00
|
|
|
def install
|
2010-09-21 09:24:52 +00:00
|
|
|
guis = []
|
2013-02-03 00:10:31 +00:00
|
|
|
guis << "gtk2" if build.with? "gtk+"
|
|
|
|
guis << "qt4" if build.with? "qt"
|
2010-09-21 09:24:52 +00:00
|
|
|
|
2013-02-03 00:10:31 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-guis=#{guis.join(' ')}"
|
2009-12-28 12:21:22 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|