PageRenderTime 48ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/Formula/tintin.rb

https://gitlab.com/jcsilkey/homebrew-core
Ruby | 28 lines | 23 code | 4 blank | 1 comment | 0 complexity | 325935635e8c6264da6ac80d08e4f652 MD5 | raw file
  1. class Tintin < Formula
  2. desc "MUD client"
  3. homepage "http://tintin.sf.net"
  4. url "https://downloads.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/2.01.0/tintin-2.01.0.tar.gz"
  5. sha256 "e0e35463a97ee5b33ef0b29b2c57fa8276c4e76328cb19c98a6ea92c603a9c76"
  6. bottle do
  7. cellar :any
  8. sha256 "87db2f724f02d4904abd62cd1ca64761fc7c036581f002edc4165f304b39c0b1" => :el_capitan
  9. sha256 "d5854bd2486230a6438a6de890ab23f812248298cdc4d4ab44c3b6b9866b9b1f" => :yosemite
  10. sha256 "c8af90d6c19c9c8ccb3f09276fbe89f059e9762b36e35e981b2c856f952d12c7" => :mavericks
  11. end
  12. depends_on "pcre"
  13. def install
  14. # find Homebrew's libpcre
  15. ENV.append "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib"
  16. cd "src" do
  17. system "./configure", "--prefix=#{prefix}"
  18. system "make", "CFLAGS=#{ENV.cflags}",
  19. "INCS=#{ENV.cppflags}",
  20. "LDFLAGS=#{ENV.ldflags}",
  21. "install"
  22. end
  23. end
  24. end