blob: 437c3dcf75f86e64209a9590ce56214b12965fb8 [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-1.1.4.ebuild,v 1.2 2009/09/01 16:07:03 ribosome Exp $
DESCRIPTION="Design primers for PCR reactions."
HOMEPAGE="http://primer3.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="whitehead"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND=""
S="${WORKDIR}/src"
src_compile() {
emake -e || die
}
src_test () {
make primer_test || die
}
src_install () {
dobin long_seq_tm_test ntdpal oligotm primer3_core || die \
"Could not install program."
dodoc ../{how-to-cite.txt,README.txt,example} || die \
"Could not install documentation."
}