aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-29 10:51:59 -0800
committerAdam Vandenberg2012-01-29 10:53:35 -0800
commite193c881032fd27b76800f6e4889a7ddefed78ba (patch)
tree3d4eecbfd842abd5a60837ee3d1ffde89538cf6c /Library
parentec7f5f6384c95ea7fd66f5d41135612b9f673491 (diff)
downloadhomebrew-e193c881032fd27b76800f6e4889a7ddefed78ba.tar.bz2
wv2 0.3.1
wv2 is a library for reading Microsoft Word files.
Diffstat (limited to 'Library')
-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