blob: 35cea00da65209880e4289f857816bc97a290fd3 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/amos/amos-2.0.8.ebuild,v 1.2 2009/03/15 17:58:50 maekke Exp $
# TODO: testing on x86
EAPI="2"
inherit multilib
MY_TAG="May_15_2009"
MY_Y="${TAG/*_/}"
MY_P="ncbi_cxx--${MY_TAG}"
DESCRIPTION="NCBI C++ Toolkit"
HOMEPAGE="http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=toolkit"
SRC_URI="ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/${MY_Y}/${MY_TAG}/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
IUSE="X unicode opengl gnutls -minimal"
KEYWORDS="~amd64 ~x86"
# wxGTK: must run eselect wxwindows after installing wxgtk or build will fail. Check and abort here.
# dev-libs/xalan-c - problems detecting, api mismatch?
DEPEND="!minimal? ( dev-libs/libxml2
dev-libs/libxslt
dev-db/sqlite:3
dev-libs/xerces-c
media-libs/libpng
media-libs/tiff
media-libs/jpeg
x11-libs/libXpm
dev-libs/lzo:2
app-text/sablotron
dev-libs/boost
unicode? ( dev-libs/icu )
opengl? ( media-libs/glut
media-libs/mesa )
gnutls? ( net-libs/gnutls )
X? ( x11-libs/fltk
x11-libs/wxGTK ) )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_configure() {
# econf fails
"${S}"/configure --without-debug --with-bin-release --prefix="${D}"/usr \
--libdir="${D}"/usr/$(get_libdir) \
--with-z="/usr" \
--with-bz2="/usr" \
--with-pcre="/usr" \
--with-openssl="/usr" \
--with-icu="/usr" \
--with-boost="/usr" \
--with-fltk="/usr" \
--with-mesa="/usr" \
--with-glut="/usr" \
--with-sablot="/usr" \
--without-wxwidgets \
|| die
# --with-xalan="/usr" \
# --with-wxwidgets="/usr" \
}
src_compile() {
emake all_r -C GCC*-Release*/build || die
}
src_install() {
emake install || die
# File collisions with sci-biology/ncbi-tools
rm -f "${D}"/usr/bin/{asn2asn,rpsblast,test_regexp}
rm -f "${D}"/usr/$(get_libdir)/libblast.a
}
|