aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCarlos Borroto2011-06-14 11:46:57 -0400
committerAdam Vandenberg2011-06-19 09:51:33 -0700
commit2fdb0c477913f1b149a6733bcef767c34cb15080 (patch)
tree40c193e298f5884e993e40b3642abeccc3d3c0f6 /Library/Formula
parent9a5c4bc50e733666dbf111679198fbf16b6bdd74 (diff)
downloadhomebrew-2fdb0c477913f1b149a6733bcef767c34cb15080.tar.bz2
plink 1.07
PLINK is a free, open-source whole genome association analysis toolset, designed to perform a range of basic, large-scale analyses in a computationally efficient manner. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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