blob: 74f49dad548f7ca94e8f39cfe359cbd2bcdd2889 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
pkgname=blast+
pkgver=2.2.31
pkgrel=1
pkgdesc="finds regions of similarity between biological sequences"
arch=('i686' 'x86_64')
url="http://blast.ncbi.nlm.nih.gov/"
license=('custom')
depends=('lzo2' 'pcre' 'python')
makedepends=('cpio')
conflicts=('blast' 'blast+-bin' 'ncbi-blast' 'ncbi-blast+' 'cddlib' 'proj')
provides=('blast' 'blast+-bin' 'ncbi-blast' 'ncbi-blast+')
replaces=('ncbi-blast')
source=("ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/$pkgver/ncbi-blast-$pkgver+-src.tar.gz"
'typeinfo.patch')
md5sums=('f32bd2d2c66205c53c6981f94e1a0d54'
'9c257a762ce4e7418e95a48723832a86')
prepare() {
cd $srcdir/ncbi-blast-$pkgver+-src/c++
patch -p1 -i $srcdir/typeinfo.patch
sed -e '/if test "$with_mt" != "no" ; then/i compiler=GCC' \
-i src/build-system/configure
}
build() {
cd $srcdir/ncbi-blast-$pkgver+-src/c++
./configure \
--prefix=/usr \
--with-dll \
--with-mt \
--without-gnutls
make
}
package() {
cd $srcdir/ncbi-blast-$pkgver+-src/c++
make prefix=$pkgdir/usr install
chmod +x $pkgdir/usr/lib/*.so
install -d $pkgdir/usr/share/licenses/$pkgname
echo 'public domain' > $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|