homebrew-core/Formula/xboard.rb
Jack Nagel 83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00

22 lines
560 B
Ruby

require 'formula'
class Xboard < Formula
url 'http://ftpmirror.gnu.org/xboard/xboard-4.5.3.tar.gz'
mirror 'http://ftp.gnu.org/gnu/xboard/xboard-4.5.3.tar.gz'
homepage 'http://www.gnu.org/software/xboard/'
md5 '48a623643fc6ad2b3d1963165bca76dc'
depends_on 'pkg-config' => :build
depends_on 'gettext'
def install
args = ["--prefix=#{prefix}",
"--x-include=/usr/X11/include",
"--x-lib=/usr/X11/lib",
"--disable-zippy"]
system "./configure", *args
system "make"
system "make install"
end
end