blob: 35559b19f65e46dd13f8f484c23f989aaa5e45a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
class Bibtexconv < Formula
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"
bottle do
cellar :any
sha1 "181370ff5fd768678de4e015e071844281343094" => :yosemite
sha1 "ce905adc7117c2494069c58f617c3d06a787e919" => :mavericks
sha1 "570f919ab0a297ef720c5a6ffa326350e55b8195" => :mountain_lion
end
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
|