New formula: xboard
Closes Homebrew/homebrew#7810. Closes Homebrew/homebrew#8232. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
8121d68627
commit
5731ef0e60
1 changed files with 21 additions and 0 deletions
21
Formula/xboard.rb
Normal file
21
Formula/xboard.rb
Normal 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
|
Loading…
Reference in a new issue