summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-02-18 10:00:54 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-18 10:01:07 +0100
commita1dcfa78b26af6988e37f63c6018bc05d82199a8 (patch)
treefb935e03323d6945ee1eddb4739f17e55725748f /sci-biology
parentdev-python/psutil: Version Bump (diff)
downloadgentoo-a1dcfa78b26af6988e37f63c6018bc05d82199a8.tar.gz
gentoo-a1dcfa78b26af6988e37f63c6018bc05d82199a8.tar.bz2
gentoo-a1dcfa78b26af6988e37f63c6018bc05d82199a8.zip
sci-biology/primer3: Version Bump
Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/primer3/Manifest1
-rw-r--r--sci-biology/primer3/primer3-2.3.7.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/sci-biology/primer3/Manifest b/sci-biology/primer3/Manifest
index 19da14fe3f93..8bae5d075fea 100644
--- a/sci-biology/primer3/Manifest
+++ b/sci-biology/primer3/Manifest
@@ -1,2 +1,3 @@
DIST primer3-2.3.5.tar.gz 1655871 SHA256 e0c06a36dc384f656835a8d5ecb4b5069493b7dd98775b38a233863ab591c54b SHA512 e64c27eea0258af913304963254494d6c874e7776b09a14ee9a273f1a3cdfa908acf92b78affc0102f06df17effbf011181c60d97ebd0a645044df7a28b41fec WHIRLPOOL 321069f568fad409b31f2fd4caa36f1128523383f5b294dffc68d57a67489ee2ac17d53bedd8e36df9b688c43c06c91f47bdaf81b4fda6597d916ea06643e666
+DIST primer3-2.3.7.tar.gz 1658090 SHA256 9e37a301d2ca9e5034c9a9d4afcb3e90041f6cc44c658b63598d0ccfcb176e5e SHA512 f227f80d395cb682a9d65e0ac3afdcacb8385d66e721b9163fda939a9c788a7c6907273f6223782702b48d7df66ea2331114f6303fcd29e3b3c50a2717da2fa7 WHIRLPOOL a092cb3a117f4d70178266ea9ae9205df567c8d18d4dbff3b5279860b22f9e4cce5484393771f37ce16a9f6e5ff4e5a51d66f9c0f35bf5cfce84a18225e3bfd8
DIST primer3-src-2.3.6.tar.gz 1667573 SHA256 2ff54faf957f0d7e4c79d9536fa1027b028bc5e4c6005f142df42ef85562ecd4 SHA512 671b420f3bc9b6b9972e19a757925ada170e5f8c0e3e8a90630a48e6cde44abc0e1e09b9ea90129f94b58f835e30440f3d91c14fb4b796fd94eb478b2ca28ead WHIRLPOOL 61bbc676c38b1b96806c9ac54d130aae936a5406213759613a3be76016cdd4ebf76c5a54d1ceffc7bd2634829d9aef9d64f87cc85289793b40ab031e01a5917f
diff --git a/sci-biology/primer3/primer3-2.3.7.ebuild b/sci-biology/primer3/primer3-2.3.7.ebuild
new file mode 100644
index 000000000000..9a129f5663b0
--- /dev/null
+++ b/sci-biology/primer3/primer3-2.3.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Primer Design for PCR reactions"
+HOMEPAGE="http://primer3.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${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=""
+
+PATCHES=( "${FILESDIR}"/${PN}-2.3.4-buildsystem.patch )
+
+src_prepare() {
+ default
+ if [[ ${CHOST} == *-darwin* ]]; then
+ sed -e "s:LIBOPTS ='-static':LIBOPTS =:" -i Makefile || die
+ fi
+
+ tc-export CC CXX AR RANLIB
+}
+
+src_compile() {
+ emake -C src
+}
+
+src_test () {
+ emake -C test | tee "${T}"/test.log
+ grep -q "\[FAILED\]" && die "test failed. See "${T}"/test.log"
+}
+
+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
+ docinto html
+ dodoc primer3_manual.htm
+}