e1bb919734
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm", to specifically message to the user when a formula is known or suspected to not build with LLVM. If the user specifies "--use-llvm", the message will be displayed, but compilation will be tried anyway. Since using LLVM is now an advanced/hidden feature instead of the default on 10.6, we'll let the user try anyway (and submit patches if things are now working.)
27 lines
768 B
Ruby
27 lines
768 B
Ruby
require 'formula'
|
|
|
|
class Aqbanking <Formula
|
|
url 'http://www2.aquamaniac.de/sites/download/download.php?package=03&release=50&file=01&dummy=aqbanking-4.2.4.tar.gz'
|
|
homepage 'http://www.aqbanking.de/'
|
|
md5 '244f5c6e470b55452d9f2cb6c081c137'
|
|
|
|
depends_on 'gmp'
|
|
depends_on 'gwenhywfar'
|
|
depends_on 'ktoblzcheck' => :optional
|
|
depends_on 'gettext'
|
|
#depends_on 'qt3' # for gui frontends
|
|
|
|
def install
|
|
fails_with_llvm "llvm results in a sigsegfault during compile"
|
|
configure_args = [
|
|
"--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--with-frontends=cli",
|
|
"--with-gwen-dir=#{HOMEBREW_PREFIX}",
|
|
]
|
|
system "./configure", *configure_args
|
|
ENV.j1
|
|
system "make install"
|
|
end
|
|
end
|