aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2015-02-04 04:45:58 +0000
committerMike McQuaid2015-02-04 11:11:20 +0000
commitce4e6e6cb37149156a5f9f8bd0834cc58005b4a4 (patch)
tree0ff955d899ec368e31151c6122c6b6f25c20124c /Library/Formula
parentfb6c374e8e5409ab71e75cdfaee7ffdc3f09a0ba (diff)
downloadhomebrew-ce4e6e6cb37149156a5f9f8bd0834cc58005b4a4.tar.bz2
bibtexconv 1.1.0
Version bump, OpenSSL fix, added test. Closes #36522. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bibtexconv.rb18
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