diff options
| author | Brett Koonce | 2015-01-01 19:07:53 -0600 |
|---|---|---|
| committer | Brett Koonce | 2015-01-01 20:31:31 -0600 |
| commit | d23607d460c45feecd1c55e8a640d1cceb924fb3 (patch) | |
| tree | d8a83c0b39fb982389e9302d26494bc92367730d /Library/Formula/bibutils.rb | |
| parent | 9ec68a8c401b012bbbdb59e62088d975fd207088 (diff) | |
| download | homebrew-d23607d460c45feecd1c55e8a640d1cceb924fb3.tar.bz2 | |
bibutils 5.5
Diffstat (limited to 'Library/Formula/bibutils.rb')
| -rw-r--r-- | Library/Formula/bibutils.rb | 40 |
1 files changed, 5 insertions, 35 deletions
diff --git a/Library/Formula/bibutils.rb b/Library/Formula/bibutils.rb index 92819390c..29210be54 100644 --- a/Library/Formula/bibutils.rb +++ b/Library/Formula/bibutils.rb @@ -1,48 +1,18 @@ -require 'formula' +require "formula" class Bibutils < Formula - homepage 'http://sourceforge.net/p/bibutils/home/Bibutils/' - url 'https://downloads.sourceforge.net/project/bibutils/bibutils_5.4_src.tgz' - sha1 'c3fc285bed1145c59a0f32376c0dd3cef00103eb' - - #fix uint not being defined clang error - patch :DATA + homepage "http://sourceforge.net/p/bibutils/home/Bibutils/" + url "https://downloads.sourceforge.net/project/bibutils/bibutils_5.5_src.tgz" + sha1 "f7cb7a8bd62ac3b5f0caf63a4a6a793355a417f2" def install system "./configure", "--install-dir", prefix system "make", "CC=#{ENV.cc}" - cd 'bin' do + cd "bin" do bin.install %w{bib2xml ris2xml end2xml endx2xml med2xml isi2xml copac2xml biblatex2xml ebi2xml wordbib2xml xml2ads xml2bib xml2end xml2isi xml2ris xml2wordbib modsclean} end end end - -__END__ -diff --git a/lib/biblatexin.c b/lib/biblatexin.c -index 41c51dc..8d6f57a 100644 ---- a/lib/biblatexin.c -+++ b/lib/biblatexin.c -@@ -21,6 +21,8 @@ - #include "reftypes.h" - #include "biblatexin.h" - -+#include <sys/types.h> -+ - extern const char progname[]; - - static list find = { 0, 0, 0, NULL }; -diff --git a/lib/bibtexin.c b/lib/bibtexin.c -index 5d97832..bce0847 100644 ---- a/lib/bibtexin.c -+++ b/lib/bibtexin.c -@@ -21,6 +21,8 @@ - #include "reftypes.h" - #include "bibtexin.h" - -+#include <sys/types.h> -+ - static list find = { 0, 0, 0, NULL }; - static list replace = { 0, 0, 0, NULL }; |
