-
-
Save romualdr/517d3155a3da8f5f1e72 to your computer and use it in GitHub Desktop.
Libdwarf Homebrew Formula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Libdwarf < Formula | |
homepage 'http://libdwarf.sourceforge.net/' | |
url 'git://git.code.sf.net/p/libdwarf/code', :tag => '20150915' | |
depends_on 'libelf' | |
def install | |
chdir 'libdwarf' do | |
system "./configure", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--prefix=#{prefix}" | |
system "make" | |
lib.install 'libdwarf.a' | |
include.install ['dwarf.h', 'libdwarf.h'] | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment