From ce4e6e6cb37149156a5f9f8bd0834cc58005b4a4 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Wed, 4 Feb 2015 04:45:58 +0000 Subject: bibtexconv 1.1.0 Version bump, OpenSSL fix, added test. Closes #36522. Signed-off-by: Mike McQuaid --- Library/Formula/bibtexconv.rb | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/bibtexconv.rb b/Library/Formula/bibtexconv.rb index 66c6b57de..984bdb770 100644 --- a/Library/Formula/bibtexconv.rb +++ b/Library/Formula/bibtexconv.rb @@ -1,15 +1,23 @@ -require 'formula' - class Bibtexconv < Formula - homepage 'http://www.iem.uni-due.de/~dreibh/bibtexconv/' - url 'http://www.iem.uni-due.de/~dreibh/bibtexconv/download/bibtexconv-0.9.4.tar.gz' - sha1 'd743e9cfb5afd99cbb224c59c1a731db21ce2f4e' + homepage "https://www.iem.uni-due.de/~dreibh/bibtexconv/" + url "https://www.uni-due.de/~be0001/bibtexconv/download/bibtexconv-1.1.0.tar.gz" + sha1 "c9ea5d067de069ddbe7b6500043ff87cae2fb8ba" + + depends_on "openssl" def install system "./configure", "--disable-dependency-tracking", + "--disable-silent-rules", "--prefix=#{prefix}" system "make" ENV.j1 # serialize folder creation system "make", "install" end + + test do + cp "#{Formula["bibtexconv"].opt_share}/doc/bibtexconv/examples/ExampleReferences.bib", testpath + + system bin/"bibtexconv", "#{testpath}/ExampleReferences.bib", "-export-to-bibtex=UpdatedReferences.bib", + "-check-urls", "-only-check-new-urls", "-non-interactive" + end end -- cgit v1.2.3