Created
February 6, 2013 23:15
-
-
Save qwerty12/4726779 to your computer and use it in GitHub Desktop.
Install a newer version of ldid from homebrew using Matthias Ringwald's work on the Fink version
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 Minimal < Formula | |
url 'http://ringwald.ch/fink/minimal-e327d27b214753a35b03a89886c82311c96353fa.tar.gz' | |
md5 '63926a804a44d5c36e8c0036ed653dbb' | |
end | |
class Ldid < Formula | |
homepage 'http://www.saurik.com/id/8' | |
url 'http://ringwald.ch/fink/ldid-4f4aa9c37a0c26908cafbc5ef58c94814d153415.tar.gz' | |
version '1.1.4f4aa9' | |
md5 '22f4d3109de29a93734354b4a403cecd' | |
def install | |
Minimal.new.brew { (buildpath/"minimal-e327d27b214753a35b03a89886c82311c96353fa").install Dir['*'] } | |
ln_s "minimal-e327d27b214753a35b03a89886c82311c96353fa", "minimal" | |
system "#{ENV.cxx} -I . -o ldid{,.cpp} sha1.c -x c lookup2.c" | |
bin.install "ldid" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment