2010-07-20 18:48:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libelf < Formula
|
2010-07-20 18:48:44 +00:00
|
|
|
homepage 'http://www.mr511.de/software/'
|
2012-05-19 04:16:22 +00:00
|
|
|
url 'http://www.mr511.de/software/libelf-0.8.13.tar.gz'
|
2010-07-20 18:48:44 +00:00
|
|
|
md5 '4136d7b4c04df68b686570afa26988ac'
|
|
|
|
|
|
|
|
def install
|
2012-05-19 04:16:22 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
# Use separate steps; there is some kind of (transient)
|
|
|
|
# race in the Makefile.
|
|
|
|
system "make"
|
2010-07-20 18:48:44 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|