forked from Ensembl/homebrew-ensembl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parsimonator.rb
31 lines (27 loc) · 1.24 KB
/
parsimonator.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright [2016] EMBL-European Bioinformatics Institute
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
class Parsimonator < Formula
desc 'A fast parsimony program for building phylogenies from DNA'
homepage 'http://sco.h-its.org/exelixis/web/software/parsimonator/index.html'
url 'https://github.com/stamatak/Parsimonator-1.0.2/archive/master.zip'
sha256 'da935321313fdd9b5d85cbdf2720329a6bff4d831f08646f32d1e0c3d65e254a'
version '1.0.2'
def install
system 'make -f Makefile.SSE3.gcc'
bin.install 'parsimonator-SSE3'
system 'make -f Makefile.SSE3.gcc clean'
system 'make -f Makefile.AVX.gcc'
bin.install 'parsimonator-AVX'
system 'make -f Makefile.AVX.gcc clean'
system 'make -f Makefile.gcc'
bin.install 'parsimonator'
end
end