-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhmmer3.build
32 lines (26 loc) · 917 Bytes
/
hmmer3.build
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
32
. ./tools.config
set -e
VERSION=3.4
wget -q http://eddylab.org/software/hmmer/hmmer-${VERSION}.tar.gz
tar xzf hmmer-${VERSION}.tar.gz
rm hmmer-${VERSION}.tar.gz
cd hmmer-${VERSION}
#patch -p1 < ../patches/hmmer3-check-instdir.patch
#patch -p1 < ../patches/hmmer-3.1b2-manperms.patch
#patch -p1 < ../patches/hmmer-3.1b2-hmmbuild-segfault.patch
#patch -p1 < ../patches/hmmer_seek_instead_reopen.patch
#patch -p1 < ../patches/hmmer-3.1b2-mmap.patch
#autoconf
#cd easel
#autoconf
#cd ..
./configure --prefix=${PREFIX} \
--enable-pic
# --enable-mmap
make ${MAKE_FLAGS}
make install-strip
cd ..
rm -rf hmmer-${VERSION}
rm -f ${PREFIX}/share/man/man1/{hmmer,hmmalign,hmmbuild,hmmemit,hmmconvert,hmmlogo,hmmfetch,hmmpgmd_shard}.1
rm -f ${PREFIX}/share/man/man1/{hmmpgmd,hmmscan,hmmpress,hmmsim,hmmsearch,jackhmmer,hmmstat,phmmer,makehmmerdb}.1
rm -f ${PREFIX}/share/man/man1/{nhmmer,nhmmscan,alimask}.1