homebrew-core/Formula/gwenhywfar.rb

33 lines
1 KiB
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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'
2013-02-03 00:10:31 +00:00
depends_on 'gtk+' => :optional
depends_on 'qt' => :optional
def install
guis = []
2013-02-03 00:10:31 +00:00
guis << "gtk2" if build.with? "gtk+"
guis << "qt4" if build.with? "qt"
2013-02-03 00:10:31 +00:00
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-guis=#{guis.join(' ')}"
system "make install"
end
end