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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'c1d6ac5f182d19dd685c4dfd74eedbfe3992425d'
|
2010-07-20 18:48:44 +00:00
|
|
|
|
2014-02-24 16:45:09 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-19 19:03:29 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "58ec51e663fa6375026ff609c1c189f870559d0c" => :yosemite
|
|
|
|
sha1 "0eeb37ce876f79cc0261cfd9c6ec9cfd8bc5c28b" => :mavericks
|
|
|
|
sha1 "a62370107719d8a92b0226335cd9dd73686ddd4f" => :mountain_lion
|
2014-02-24 16:45:09 +00:00
|
|
|
end
|
|
|
|
|
2010-07-20 18:48:44 +00:00
|
|
|
def install
|
2012-05-19 04:16:22 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2013-08-01 22:04:14 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-compat"
|
2013-07-15 15:34:03 +00:00
|
|
|
# Use separate steps; there is a race in the Makefile.
|
2012-05-19 04:16:22 +00:00
|
|
|
system "make"
|
2010-07-20 18:48:44 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|