diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/bibtexconv.rb | 18 |
1 files changed, 13 insertions, 5 deletions
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 |
