homebrew-core/Formula/tintin.rb
ilovezfs e9326d1c68
tintin 2.01.1
Closes #8897.

Signed-off-by: William Woodruff <william@tuffbizz.com>
2017-01-14 14:34:29 -05:00

29 lines
1 KiB
Ruby

class Tintin < Formula
desc "MUD client"
homepage "http://tintin.sf.net"
url "https://downloads.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz"
sha256 "cc0ba550880bd5efdba8fde11d1e4ddd4ae8737f81e6f64649de23ed99cbbca4"
bottle do
cellar :any
sha256 "36071ac3d832a1c61922d2723146a92f69640e66282e793787a9d90988b58a66" => :sierra
sha256 "87db2f724f02d4904abd62cd1ca64761fc7c036581f002edc4165f304b39c0b1" => :el_capitan
sha256 "d5854bd2486230a6438a6de890ab23f812248298cdc4d4ab44c3b6b9866b9b1f" => :yosemite
sha256 "c8af90d6c19c9c8ccb3f09276fbe89f059e9762b36e35e981b2c856f952d12c7" => :mavericks
end
depends_on "pcre"
def install
# find Homebrew's libpcre
ENV.append "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib"
cd "src" do
system "./configure", "--prefix=#{prefix}"
system "make", "CFLAGS=#{ENV.cflags}",
"INCS=#{ENV.cppflags}",
"LDFLAGS=#{ENV.ldflags}",
"install"
end
end
end