aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/plink.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/plink.rb b/Library/Formula/plink.rb
new file mode 100644
index 000000000..be606c3cb
--- /dev/null
+++ b/Library/Formula/plink.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Plink < Formula
+ url 'http://pngu.mgh.harvard.edu/~purcell/plink/dist/plink-1.07-src.zip'
+ homepage 'http://pngu.mgh.harvard.edu/~purcell/plink/'
+ md5 '4566376791df4e69459b849bd7078fa3'
+
+ def install
+ ENV.deparallelize
+ inreplace "Makefile", "SYS = UNIX", "SYS = MAC"
+ system "make"
+ (share+'plink').install %w{test.map test.ped}
+ bin.install "plink"
+ end
+end