aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/wv2.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/wv2.rb b/Library/Formula/wv2.rb
new file mode 100644
index 000000000..a8974e4f8
--- /dev/null
+++ b/Library/Formula/wv2.rb
@@ -0,0 +1,27 @@
+require 'formula'
+
+class Wv2 < Formula
+ url 'http://downloads.sourceforge.net/project/wvware/wv2/0.3.1/wv2-0.3.1.tar.bz2'
+ homepage 'http://wvware.sourceforge.net/'
+ md5 '4a20200141cb1299055f2bf13b56989d'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'glib'
+ depends_on 'libgsf'
+ depends_on 'libiconv'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ # This test will fail and we won't accept that! It's enough to just
+ # replace "false" with the main program this formula installs, but
+ # it'd be nice if you were more thorough. Test the test with
+ # `brew test wv2`. Remove this comment before submitting
+ # your pull request!
+ system "false"
+ end
+end