summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-19 12:21:52 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-19 12:21:52 +0000
commit311cabad4ff9ee2e01b6a2aae679dc43bca1d102 (patch)
tree55e15eabd48e6b1f29196cdd37d3eb228a8a7ab7 /sci-biology
parentFix eclassdoc. (diff)
downloadgentoo-2-311cabad4ff9ee2e01b6a2aae679dc43bca1d102.tar.gz
gentoo-2-311cabad4ff9ee2e01b6a2aae679dc43bca1d102.tar.bz2
gentoo-2-311cabad4ff9ee2e01b6a2aae679dc43bca1d102.zip
sci-biology/primer3: Version BUmp
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/primer3/ChangeLog8
-rw-r--r--sci-biology/primer3/primer3-2.3.0.ebuild17
-rw-r--r--sci-biology/primer3/primer3-2.3.1.ebuild47
3 files changed, 62 insertions, 10 deletions
diff --git a/sci-biology/primer3/ChangeLog b/sci-biology/primer3/ChangeLog
index 50f2be8512de..c8a7df6ca87e 100644
--- a/sci-biology/primer3/ChangeLog
+++ b/sci-biology/primer3/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/primer3
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/ChangeLog,v 1.31 2012/03/07 19:40:07 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/ChangeLog,v 1.32 2012/07/19 12:21:52 jlec Exp $
+
+*primer3-2.3.1 (19 Jul 2012)
+
+ 19 Jul 2012; Justin Lecher <jlec@gentoo.org> primer3-2.3.0.ebuild,
+ +primer3-2.3.1.ebuild:
+ Version BUmp
07 Mar 2012; Brent Baude <ranger@gentoo.org> primer3-2.3.0.ebuild:
Marking primer3-2.3.0 ppc for bug 402053
diff --git a/sci-biology/primer3/primer3-2.3.0.ebuild b/sci-biology/primer3/primer3-2.3.0.ebuild
index 1306d12212e5..40778dce474a 100644
--- a/sci-biology/primer3/primer3-2.3.0.ebuild
+++ b/sci-biology/primer3/primer3-2.3.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-2.3.0.ebuild,v 1.2 2012/03/07 19:40:07 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-2.3.0.ebuild,v 1.3 2012/07/19 12:21:52 jlec Exp $
-EAPI="3"
+EAPI=4
inherit toolchain-funcs
@@ -31,18 +31,17 @@ src_prepare() {
}
src_compile() {
- emake -C src || die
+ emake -C src
}
src_test () {
- emake -C test || die
+ emake -C test
}
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."
+ dobin src/{long_seq_tm_test,ntdpal,oligotm,primer3_core}
+ dodoc src/release_notes.txt example
insinto /opt/primer3_config
- doins -r src/primer3_config/* primer3*settings.txt || die
+ doins -r src/primer3_config/* primer3*settings.txt
+ dohtml primer3_manual.htm
}
diff --git a/sci-biology/primer3/primer3-2.3.1.ebuild b/sci-biology/primer3/primer3-2.3.1.ebuild
new file mode 100644
index 000000000000..c42182fb1bbe
--- /dev/null
+++ b/sci-biology/primer3/primer3-2.3.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-2.3.1.ebuild,v 1.1 2012/07/19 12:21:52 jlec Exp $
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="Primer Design for PCR reactions"
+HOMEPAGE="http://primer3.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+
+DEPEND="dev-lang/perl"
+RDEPEND=""
+
+src_prepare() {
+ if [[ ${CHOST} == *-darwin* ]]; then
+ sed -e "s:LIBOPTS ='-static':LIBOPTS =:" -i Makefile || die
+ fi
+ perl -i -ne 's/\$\(CPP\)/'$(tc-getCXX)'/; print unless /^(CC|CPP|CFLAGS|LDFLAGS)\s*=/' src/Makefile || die
+ sed \
+ -e '/oligotm/s:-o $@:$(LDFLAGS) -o $@:g' \
+ -e '/long_seq_tm_test/s:-o $@:$(LDFLAGS) -o $@:g' \
+ -e 's:CFLAGS:CXXFLAGS:g' \
+ -i src/Makefile || die
+}
+
+src_compile() {
+ emake -C src
+}
+
+src_test () {
+ emake -C test
+}
+
+src_install () {
+ dobin src/{long_seq_tm_test,ntdpal,oligotm,primer3_core}
+ dodoc src/release_notes.txt example
+ insinto /opt/primer3_config
+ doins -r src/primer3_config/* primer3*settings.txt
+ dohtml primer3_manual.htm
+}