require 'formula'

class Libelf < Formula
  homepage 'http://www.mr511.de/software/'
  url 'http://www.mr511.de/software/libelf-0.8.13.tar.gz'
  sha1 'c1d6ac5f182d19dd685c4dfd74eedbfe3992425d'

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    # Use separate steps; there is a race in the Makefile.
    system "make"
    system "make install"
  end
end
