890786fb65
Closes Homebrew/homebrew#23465. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
32 lines
1 KiB
Ruby
32 lines
1 KiB
Ruby
require 'formula'
|
|
|
|
class Gwenhywfar < Formula
|
|
homepage 'http://www.aqbanking.de/'
|
|
url 'http://www.aquamaniac.de/sites/download/download.php?package=01&release=67&file=01&dummy=gwenhywfar-4.3.3.tar.gz'
|
|
sha1 'c2ba4c45f1eeb379db6c2ae09122c592893f3bd0'
|
|
head 'http://devel.aqbanking.de/svn/gwenhywfar/trunk'
|
|
|
|
devel do
|
|
url 'http://www2.aquamaniac.de/sites/download/download.php?package=01&release=71&file=01&dummy=gwenhywfar-4.8.0beta.tar.gz'
|
|
sha1 '13b02c2485d0ddb33eaa391d295addd96cdb3071'
|
|
end
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'gettext'
|
|
depends_on 'gnutls'
|
|
depends_on 'libgcrypt'
|
|
depends_on 'gtk+' => :optional
|
|
depends_on 'qt' => :optional
|
|
|
|
def install
|
|
guis = []
|
|
guis << "gtk2" if build.with? "gtk+"
|
|
guis << "qt4" if build.with? "qt"
|
|
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-guis=#{guis.join(' ')}"
|
|
system "make install"
|
|
end
|
|
end
|