Last active
March 7, 2018 10:50
-
-
Save zlandau/7550479 to your computer and use it in GitHub Desktop.
Libdwarf Homebrew Formula
This file contains hidden or 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 => '20130729' | |
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