-
-
Save citruz/87f7c3f1708e3dbc8335323dec64a152 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 => '20180129' | |
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