blob: 26f1f2ac70460fdad595d228ab50cf5b8e75df19 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-1.0b.ebuild,v 1.1 2006/11/03 01:52:10 ribosome Exp $
DESCRIPTION="Design primers for PCR reactions."
HOMEPAGE="http://frodo.wi.mit.edu/primer3/primer3_code.html"
SRC_URI="http://frodo.wi.mit.edu/${PN}/${PN}_${PV}.tar.gz"
LICENSE="whitehead"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND=""
S="${WORKDIR}/${PN}_${PV}/src"
src_compile() {
emake -e || die
}
src_test () {
cd ../test
perl primer_test.pl primer3_core || die
}
src_install () {
dobin primer3_core || die "Could not install program."
dodoc ../{how-to-cite.txt,README.${PN}_${PV}.txt,example} || \
die "Could not install documentation."
}
|