diff options
Diffstat (limited to 'sci-biology/primer3/primer3-2.2.3.ebuild')
-rw-r--r-- | sci-biology/primer3/primer3-2.2.3.ebuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/sci-biology/primer3/primer3-2.2.3.ebuild b/sci-biology/primer3/primer3-2.2.3.ebuild index dd74e89a4c60..3f10d84c1dde 100644 --- a/sci-biology/primer3/primer3-2.2.3.ebuild +++ b/sci-biology/primer3/primer3-2.2.3.ebuild @@ -1,25 +1,32 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-2.2.3.ebuild,v 1.2 2011/11/23 08:10:50 jlec Exp $ EAPI="3" inherit toolchain-funcs -DESCRIPTION="Design primers for PCR reactions." +DESCRIPTION="Primer Design 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" +LICENSE="GPL-2" IUSE="" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" -DEPEND="" +DEPEND="dev-lang/perl" RDEPEND="" src_prepare() { + [[ ${CHOST} == *-darwin* ]] && \ + sed -e "s:LIBOPTS ='-static':LIBOPTS =:" -i Makefile 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() { |