Skip to content

Commit

Permalink
bibutils 4.17
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Feb 3, 2013
1 parent 07555a8 commit bb7b016
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Formula/bibutils.rb
Expand Up @@ -2,18 +2,12 @@

class Bibutils < Formula
homepage 'http://sourceforge.net/p/bibutils/home/Bibutils/'
url 'http://sourceforge.net/projects/bibutils/files/bibutils_4.15_src.tgz'
sha1 '1ba285d9ac58549062ff14d48801bc6ffbc8f903'
url 'http://sourceforge.net/projects/bibutils/files/bibutils_4.17_src.tgz'
sha1 '099badff0ceeafc9a29094131ffaf34dc1baeef9'

def install
system "./configure", "--install-dir", prefix

# The configure script replaces the CC variable wrong, so fix it here
inreplace 'Makefile' do |s|
s.change_make_var! 'CC', "CC=#{ENV.cc}"
end

system "make"
system "make", "CC=#{ENV.cc}"

cd 'bin' do
bin.install %w{bib2xml ris2xml end2xml endx2xml med2xml isi2xml copac2xml
Expand Down

0 comments on commit bb7b016

Please sign in to comment.