summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2011-02-03 17:08:52 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2011-02-03 17:08:52 +0000
commit0f0eaef9ebbe2bf51ba1bb5e2ce581d96631b0b8 (patch)
treebf467b1c99476a6a587f978ae6fe4d184221f277 /sci-biology/primer3
parentInitial commit wrt #353579 by Kevin McCarthy. (diff)
downloadgentoo-2-0f0eaef9ebbe2bf51ba1bb5e2ce581d96631b0b8.tar.gz
gentoo-2-0f0eaef9ebbe2bf51ba1bb5e2ce581d96631b0b8.tar.bz2
gentoo-2-0f0eaef9ebbe2bf51ba1bb5e2ce581d96631b0b8.zip
Version bump, drop old
(Portage version: 2.2_rc86/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/primer3')
-rw-r--r--sci-biology/primer3/ChangeLog10
-rw-r--r--sci-biology/primer3/primer3-1.0.0.ebuild36
-rw-r--r--sci-biology/primer3/primer3-2.2.3.ebuild40
3 files changed, 48 insertions, 38 deletions
diff --git a/sci-biology/primer3/ChangeLog b/sci-biology/primer3/ChangeLog
index 4f5fe5fa4781..4141566ae33e 100644
--- a/sci-biology/primer3/ChangeLog
+++ b/sci-biology/primer3/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/primer3
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/ChangeLog,v 1.23 2010/08/31 12:16:41 xarthisius Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/ChangeLog,v 1.24 2011/02/03 17:08:52 weaver Exp $
+
+*primer3-2.2.3 (03 Feb 2011)
+
+ 03 Feb 2011; Andrey Kislyuk <weaver@gentoo.org> -primer3-1.0.0.ebuild,
+ +primer3-2.2.3.ebuild:
+ Version bump, drop old
*primer3-1.1.4-r2 (31 Aug 2010)
diff --git a/sci-biology/primer3/primer3-1.0.0.ebuild b/sci-biology/primer3/primer3-1.0.0.ebuild
deleted file mode 100644
index 353e65dbb97e..000000000000
--- a/sci-biology/primer3/primer3-1.0.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-1.0.0.ebuild,v 1.14 2008/08/26 19:08:09 ribosome Exp $
-
-DESCRIPTION="Design primers for PCR reactions."
-HOMEPAGE="http://primer3.sourceforge.net/"
-SRC_URI="http://frodo.wi.mit.edu/${PN}/${PN}_${PV}.tar.gz"
-LICENSE="whitehead"
-
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 ~sparc x86"
-IUSE=""
-
-RDEPEND=""
-
-DEPEND="dev-lang/perl"
-
-S=${WORKDIR}/${PN}_${PV}/src
-
-src_unpack() {
- unpack ${A}
-}
-
-src_compile() {
- emake -e || die
-}
-
-src_test () {
- cd ../test
- perl primer_test.pl primer3_core || die
-}
-
-src_install () {
- dobin primer3_core
- dodoc release_notes ../README ../example
-}
diff --git a/sci-biology/primer3/primer3-2.2.3.ebuild b/sci-biology/primer3/primer3-2.2.3.ebuild
new file mode 100644
index 000000000000..dd74e89a4c60
--- /dev/null
+++ b/sci-biology/primer3/primer3-2.2.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-2.2.3.ebuild,v 1.1 2011/02/03 17:08:52 weaver Exp $
+
+EAPI="3"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Design primers for PCR reactions."
+HOMEPAGE="http://primer3.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ perl -i -ne 's/\$\(CPP\)/'$(tc-getCXX)'/; print unless /^(CC|CPP|CFLAGS|LDFLAGS)\s*=/' src/Makefile || die
+}
+
+src_compile() {
+ emake -C src || die
+}
+
+src_test () {
+ emake -C test || die
+}
+
+src_install () {
+ dobin src/{long_seq_tm_test,ntdpal,oligotm,primer3_core} || die \
+ "Could not install program."
+ dodoc src/release_notes.txt example primer3_manual.htm || die \
+ "Could not install documentation."
+ insinto /opt/primer3_config
+ doins -r src/primer3_config/* primer3*settings.txt || die
+}