Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 1.072 kb
require 'formula'
class ChocolateDoom < Formula
homepage "http://www.chocolate-doom.org/"
url "http://www.chocolate-doom.org/downloads/2.1.0/chocolate-doom-2.1.0.tar.gz"
sha1 "edf80092b4d08af6de5ef0cf10a17b9105f91f42"
depends_on "sdl"
depends_on "sdl_net"
depends_on "sdl_mixer"
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--disable-sdltest"
system "make install"
# This project installs to 'games', but we want it in 'bin' so it symlinks in.
# Can't find a ./configure switch, so just rename it.
(prefix+"games").rename bin
end
def caveats; <<-EOS.undent
Note that this formula only installs a Doom game engine, and no
actual levels. The original Doom levels are still under copyright,
so you can copy them over and play them if you already own them.
Otherwise, there are tons of free levels available online.
Try starting here:
#{homepage}
EOS
end
end
Jump to Line
Something went wrong with that request. Please try again.