aboutsummaryrefslogtreecommitdiff
blob: da9832e308fd5a3bc7e3308296b9d1bf3691901d (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
36
37
38
39
40
41
42
43
44
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils

DESCRIPTION="Facilitate submission of data to the GenBank, EMBL, and DDBJ sequence databases"
HOMEPAGE="http://www.ncbi.nlm.nih.gov/Sequin/"
SRC_URI="
	amd64? ( ftp://ftp.ncbi.nih.gov/sequin/sequin.linux-x86_64.tar.gz -> ${P}-x86_64.tar.gz )
	x86? ( ftp://ftp.ncbi.nih.gov/sequin/sequin.linux.tar.gz -> ${P}-x86.tar.gz )"
#	amd64? ( ftp://ftp.ncbi.nih.gov/sequin/old/${PV}/sequin.linux-x86_64.tar.gz -> ${P}-x86_64.tar.gz )
#	x86? ( ftp://ftp.ncbi.nih.gov/sequin/old/${PV}/sequin.linux-x86.tar.gz -> ${P}-x86.tar.gz )"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="
	x11-libs/libXmu
	x11-libs/libXp"

S="${WORKDIR}"

QA_PREBUILT="/opt/.*"

src_install() {
	dohtml -r *htm images
	rm -rf *htm images || die

	insinto /opt/${PN}
	doins -r *

	exeinto /opt/${PN}
	doexe sequin

	dosym /opt/${PN}/sequin /opt/bin/sequin

	make_desktop_entry sequin Sequin
}