Skip to content

Instantly share code, notes, and snippets.

@danslo
Last active December 17, 2015 21:50
Show Gist options
  • Save danslo/5677985 to your computer and use it in GitHub Desktop.
Save danslo/5677985 to your computer and use it in GitHub Desktop.
require 'formula'
class Libunwind < Formula
homepage ''
url 'http://opensource.apple.com/tarballs/libunwind/libunwind-30.tar.gz'
sha1 'e779fbe8a58e6cfb76798c8e9b2373a9ddc9b2eb'
depends_on "dyld"
def install
system "xcodebuild", "-configuration", "Release", "ARCHS=x86_64", "ONLY_ACTIVE_ARCH=YES", "SYMROOT=build", "PREFIX=#{prefix}"
include.install Dir['include/*.h']
lib.install Dir['build/Release/*']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment