File: dependency_installs

package info (click to toggle)
bioperl 1.6.924-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 50,776 kB
  • ctags: 11,412
  • sloc: perl: 175,865; xml: 27,565; lisp: 2,034; sh: 1,958; makefile: 19
file content (24 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

mkdir travis_builds

cd travis_builds

# samtools
git clone https://github.com/samtools/samtools.git
cd samtools
git checkout tags/0.1.18
perl -p -i -e 's/^(CFLAGS=\s+)[^\n]*/$1-g -Wall -O2 -fPIC #-m64 #-arch ppc/' Makefile
make 2>&1 | tail -n 1
cd ..

# push Bio-Root to front
git clone https://github.com/bioperl/Bio-Root.git
export PERL5LIB=$( pwd )/Bio-Root/lib:$( pwd ):$PERL5LIB

export SAMTOOLS=$( pwd )/samtools

echo "Bio::DB::Sam installation"
cpanm Bio::DB::Sam 2>&1 | tail -n 10

exit 0