homebrew-core/Formula/cutter.rb
Hiroshi Hatake 6dd479df13 cutter 1.2.5
Closes Homebrew/homebrew#42412.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-03 20:34:40 +01:00

34 lines
1.1 KiB
Ruby

class Cutter < Formula
desc "Unit Testing Framework for C and C++"
homepage "http://cutter.sourceforge.net/"
url "https://downloads.sourceforge.net/project/cutter/cutter/1.2.5/cutter-1.2.5.tar.gz"
sha256 "e53613445e8fe20173a656db5a70a7eb0c4586be1d9f33dc93e2eddd2f646b20"
head "https://github.com/clear-code/cutter.git"
bottle do
sha256 "63aac653b8f4caf357d30fb1eaf67ba0ba190422de2a339364f04e455ccd0b47" => :yosemite
sha256 "6765e4880f7c893b5cb3fb6e48cafbfbc3e08b98470930048d895ea743355400" => :mavericks
sha256 "85e2fa9ce8b9ca51d3ea12cf83f25ef2513c986ed7c82dd6a96fb649bf6dd101" => :mountain_lion
end
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "glib"
depends_on "gettext"
def install
system "./configure", "--prefix=#{prefix}",
"--disable-glibtest",
"--disable-goffice",
"--disable-gstreamer",
"--disable-libsoup"
system "make"
system "make", "install"
end
test do
touch "1.txt"
touch "2.txt"
system bin/"cut-diff", "1.txt", "2.txt"
end
end