diff options
| author | Carlos Borroto | 2011-02-28 12:30:22 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-05 16:50:15 -0800 |
| commit | c440261cc44c9645436d10bf0fca9870f33730a7 (patch) | |
| tree | eda90ba80a4648353865e0ab96b4f8509b9b7f2c /Library/Formula | |
| parent | 379baece85ffc3568f3e1b4920cb8f7a6a6b6aa9 (diff) | |
| download | homebrew-c440261cc44c9645436d10bf0fca9870f33730a7.tar.bz2 | |
samtools 0.1.12a
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/samtools.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/samtools.rb b/Library/Formula/samtools.rb new file mode 100644 index 000000000..eb3e2e4bb --- /dev/null +++ b/Library/Formula/samtools.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Samtools <Formula + url 'http://sourceforge.net/projects/samtools/files/samtools/0.1.12/samtools-0.1.12a.tar.bz2' + homepage 'http://samtools.sourceforge.net/' + md5 '500ae32fb431de3940e0e955744b9b36' + + def install + # -s is needed on OS X here. + inreplace ["Makefile", "bcftools/Makefile"], "$(AR)", "$(AR) -s" + + system "make" + system "make razip" + + bin.install %w{samtools razip} + prefix.install %w{examples misc} + lib.install 'libbam.a' + (include+'bam').install Dir['*.h'] + end +end |
