New formula: xboard

Closes Homebrew/homebrew#7810.
Closes Homebrew/homebrew#8232.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Adrian Petrescu 2011-10-21 22:21:50 -04:00 committed by Jack Nagel
parent 8121d68627
commit 5731ef0e60

21
Formula/xboard.rb Normal file
View file

@ -0,0 +1,21 @@
require 'formula'
class Xboard < Formula
url 'http://ftpmirror.gnu.org/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