2010-03-29 15:28:11 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Bwa < Formula
|
2010-03-29 15:28:11 +00:00
|
|
|
homepage 'http://bio-bwa.sourceforge.net/'
|
2012-02-10 04:45:34 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/bio-bwa/bwa-0.5.10.tar.bz2'
|
2011-11-14 18:02:30 +00:00
|
|
|
md5 '04962f916f761dc259d9fb2452b46c5d'
|
2012-02-10 04:45:34 +00:00
|
|
|
|
2011-10-14 19:40:07 +00:00
|
|
|
head 'https://github.com/lh3/bwa.git'
|
2010-03-29 15:28:11 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-10 04:45:34 +00:00
|
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
|
2010-03-29 15:28:11 +00:00
|
|
|
bin.install "bwa"
|
|
|
|
man1.install "bwa.1"
|
|
|
|
end
|
|
|
|
end
|