summaryrefslogtreecommitdiff
blob: 46a8df56cd4d79b4082d0672f4ba77bd6132579f (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/emboss/emboss-2.7.1.ebuild,v 1.1 2003/09/04 03:45:49 sediener Exp $


S=${WORKDIR}/EMBOSS-2.7.1
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-2.7.1.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="png X"
DEPEND="X? ( virtual/x11 )
	png? ( >=sys-libs/zlib-1.1.4
	>=media-libs/libpng-1.2.4
	>=media-libs/libgd-1.8.4 )"

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
	

}

src_compile() {

	econf || die
	emake || die
}