blob: 838f3b443ed8cb459b0c2d8af37fe9fad57c206a (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A generic bioinformatics relational database model"
HOMEPAGE="https://biosql.org/"
SRC_URI="https://biosql.org/DIST/${P}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="mysql postgres"
# WARNING: bioperl-db is claimed to be incompatible with >=postgresql-8.3 (see INSTALL)
DEPEND="
mysql? ( dev-perl/DBD-mysql )
postgres? ( dev-perl/DBD-Pg )"
RDEPEND="
${DEPEND}
dev-lang/perl"
src_install() {
insinto /usr/share/biosql
doins -r sql scripts/.
dodoc Changes README Release.txt doc/*.pdf
docinto biopython
dodoc doc/{README,schema-overview.txt,biopython/{cor6_6.gb,*.pdf}}
docompress -x /usr/share/doc/${PF}/biopython
docinto html
dodoc doc/{biopython/,}*.htm*
}
pkg_postinst() {
elog
elog "Please read the BioSQL schema installation instructions in"
elog "${EROOT}/usr/share/doc/${PF} to begin using the schema."
elog
}
|