blob: bc15bb8f4680ce6f3cac83b1b8f128a9e21375a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Primers design for standard PCR, bisulphite PCR and Real-time PCR"
HOMEPAGE="http://perlprimer.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="
dev-perl/Tk
dev-perl/libwww-perl
>=sci-biology/rebase-904"
src_prepare() {
default
sed \
-e "s:\(\"\$HOME\".\"gcg.*\"\):\"/usr/share/rebase/gcg.*\":g" \
-i perlprimer.pl || die "Sed failed!"
}
# TODO: figure out why right-clicking on the sequence doesn't produce a stable menu.
# see if upstream still exists, point them at the new gcg file.
src_install() {
newbin perlprimer.pl ${PN}
dodoc Changelog ReadMe.txt
docinto html
dodoc -r tutorial_files tutorial.html
}
|