aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSHIMADA Koji2012-03-23 19:13:30 +0900
committerAdam Vandenberg2012-07-28 09:57:27 -0700
commit80cd68fcd103637ac6c51cbe43d66fba3cedec7e (patch)
tree6bf23c2264fc334370a9fba93ba11dec71844d65 /Library
parent3ba6f21db7a496ac8ffdd960b123d169279508d2 (diff)
downloadhomebrew-80cd68fcd103637ac6c51cbe43d66fba3cedec7e.tar.bz2
cutter 1.2.0
Closes #11163. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cutter.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/cutter.rb b/Library/Formula/cutter.rb
new file mode 100644
index 000000000..f3e74490b
--- /dev/null
+++ b/Library/Formula/cutter.rb
@@ -0,0 +1,27 @@
+require 'formula'
+
+class Cutter < Formula
+ homepage 'http://cutter.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/project/cutter/cutter/1.2.0/cutter-1.2.0.tar.gz'
+ sha1 'f4da2693b3e449919b1e2aa34e5bd89623f4da07'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'glib'
+ depends_on 'intltool'
+ depends_on 'gettext'
+
+ # see https://github.com/mxcl/homebrew/pull/11163#issuecomment-4689357
+ def patches
+ "https://github.com/clear-code/cutter/commit/46f985153f465ae22ce8acdde5ec95c3d4361c83.diff"
+ end
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--disable-glibtest",
+ "--disable-goffice",
+ "--disable-gstreamer",
+ "--disable-libsoup"
+ system "make"
+ system "make install"
+ end
+end