You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
985 B
44 lines
985 B
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
8 years ago
|
|
||
13 years ago
|
DESCRIPTION="A generic bioinformatics relational database model"
|
||
|
HOMEPAGE="http://www.biosql.org/"
|
||
|
SRC_URI="http://biosql.org/DIST/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="LGPL-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="amd64 x86"
|
||
8 years ago
|
IUSE="mysql postgres"
|
||
13 years ago
|
|
||
|
# WARNING: bioperl-db is claimed to be incompatible with >=postgresql-8.3 (see INSTALL)
|
||
|
|
||
8 years ago
|
DEPEND="
|
||
|
mysql? ( dev-perl/DBD-mysql )
|
||
13 years ago
|
postgres? ( dev-perl/DBD-Pg )"
|
||
8 years ago
|
RDEPEND="
|
||
|
${DEPEND}
|
||
|
dev-lang/perl"
|
||
13 years ago
|
|
||
|
src_install() {
|
||
2 years ago
|
insinto /usr/share/biosql
|
||
8 years ago
|
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*
|
||
13 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
8 years ago
|
elog
|
||
13 years ago
|
elog "Please read the BioSQL schema installation instructions in"
|
||
2 years ago
|
elog "${EROOT}/usr/share/doc/${PF} to begin using the schema."
|
||
8 years ago
|
elog
|
||
13 years ago
|
}
|