diff options
| author | Jack Nagel | 2012-03-24 20:37:39 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-03-24 20:39:22 -0500 |
| commit | 804554bc4885a5e6ec8b9869c2125e5bfecd86d1 (patch) | |
| tree | 178c7889cf80bee926ce890640ee958ddb94aa84 /Library/Formula/gnu-chess.rb | |
| parent | 824b0b72e333c81578a32bbe154c36e43946b398 (diff) | |
| download | homebrew-804554bc4885a5e6ec8b9869c2125e5bfecd86d1.tar.bz2 | |
Relocate game formulae to homebrew-games
https://github.com/Homebrew/homebrew-games
Just `brew tap homebrew/games` to get them back.
Closes #11189.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/gnu-chess.rb')
| -rw-r--r-- | Library/Formula/gnu-chess.rb | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Library/Formula/gnu-chess.rb b/Library/Formula/gnu-chess.rb deleted file mode 100644 index f04a2e51f..000000000 --- a/Library/Formula/gnu-chess.rb +++ /dev/null @@ -1,34 +0,0 @@ -require 'formula' - -class GnuChess < Formula - homepage 'http://www.gnu.org/software/chess/' - url 'http://ftpmirror.gnu.org/chess/gnuchess-6.0.1.tar.gz' - mirror 'http://ftp.gnu.org/gnu/chess/gnuchess-6.0.1.tar.gz' - md5 '041888218f73886f146fa7fbf92190de' - - def install - # Opening book for gnuchess. This can be put in the doc directory and the - # user can optionally add the opening book. The README has details on - # adding the opening book. - book_url = "http://ftpmirror.gnu.org/chess/book_1.02.pgn.gz" - ohai "Downloading #{book_url}" - curl book_url, "-O" - - system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make" - ENV.j1 # Prevents a "file already exists" warning - system "make install" - doc.install Dir['doc/*', 'TODO', 'book_1.02.pgn.gz', 'book'] - end - - def caveats; <<-EOS.undent - The README file contains a manual for use: - #{doc}/README - - This formula also downloads the additional opening book. The opening - book is a gzipped PGN file that can be added using gnuchess commands. - The book_*.pgn.gz file is located in the same directory as the README. - See the README for using the `book add' command. - EOS - end -end |
