Skip to content

Instantly share code, notes, and snippets.

@romualdr
Forked from zlandau/libdwarf.rb
Last active November 10, 2015 16:54
Show Gist options
  • Save romualdr/517d3155a3da8f5f1e72 to your computer and use it in GitHub Desktop.
Save romualdr/517d3155a3da8f5f1e72 to your computer and use it in GitHub Desktop.
Libdwarf Homebrew Formula
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