blob: 7737d6b2f7ec3e6007056b657b28594608f78592 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/emboss/emboss-2.8.0-r1.ebuild,v 1.4 2004/06/30 17:14:33 vapier Exp $
DESCRIPTION="The European Molecular Biology Open Software Suite: EMBOSS is a package of high-quality FREE Open Source software for sequence analysis"
HOMEPAGE="http://www.emboss.org/"
SRC_URI="ftp://ftp.uk.embnet.org/pub/EMBOSS/EMBOSS-${PV}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X png"
DEPEND="X? ( virtual/x11
png? ( >=sys-libs/zlib-1.1.4
>=media-libs/libpng-1.2.4
>=media-libs/gd-1.8.4 )
)"
S=${WORKDIR}/EMBOSS-${PV}
src_compile() {
local myconf
if ! use X
then
myconf="--without-x --without-pngdriver"
else
if ! use png
then
myconf="${myconf} --without-pngdriver"
fi
fi
ewarn "myconf: ${myconf}"
econf ${myconf} || die
emake || die
}
src_install() {
einstall || die
# env file
dodir /etc/env.d
insinto /etc/env.d
doins ${FILESDIR}/22emboss
#install files...
dodoc AUTHORS COMPAT COPYING ChangeLog FAQ INSTALL KNOWN_BUGS LICENSE README THANKS NEWS ONEWS PROBLEMS
# symlink preinstalled docs to /usr/share...
dosym /usr/share/EMBOSS/doc/manuals /usr/share/doc/${P}/manuals
dosym /usr/share/EMBOSS/doc/programs /usr/share/doc/${P}/programs
dosym /usr/share/EMBOSS/doc/tutorials /usr/share/doc/${P}/tutorials
}
|