summaryrefslogtreecommitdiff
blob: 89add3a9535b6c5b6e67ee6e8d9a67e4d739668d (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/readseq/readseq-19930201-r1.ebuild,v 1.1 2010/11/28 08:56:48 jlec Exp $

EAPI="3"

inherit eutils toolchain-funcs

DESCRIPTION="Reads and writes nucleic/protein sequences in various formats."
SRC_URI="mirror://debian/pool/main/r/readseq/readseq_1.orig.tar.gz"
HOMEPAGE="http://iubio.bio.indiana.edu/soft/molbio/readseq/"
LICENSE="public-domain"

KEYWORDS="~amd64 ~sparc ~x86"
SLOT="0"
IUSE=""

S="${WORKDIR}/readseq-1"

src_prepare() {
	epatch \
		"${FILESDIR}"/${PV}-getline.patch \
		"${FILESDIR}"/${PV}-buffer.patch \
		"${FILESDIR}"/${PV}-impl-dec.patch \
		"${FILESDIR}"/${PV}-ldflags.patch
}

src_compile() {
	emake -e \
		CC=$(tc-getCC) \
		build || die
}

src_install() {
	dobin readseq || die
	dodoc Readme Readseq.help || die
}