summaryrefslogtreecommitdiff
blob: 60f531915095f77dffeeb4cac82811b36be376a9 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/biosql/biosql-1.0.1.ebuild,v 1.2 2009/03/17 01:10:48 weaver Exp $

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"
IUSE="mysql postgres"
KEYWORDS="~amd64 ~x86"

# 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}"

src_install() {
	insinto /usr/share/${PN}
	doins -r sql scripts/* || die
	insinto /usr/share/doc/${P}
	doins -r doc/*
	dodoc Changes INSTALL README Release.txt
}

pkg_postinst() {
	echo
	elog "Please read the BioSQL schema installation instructions in"
	elog "/usr/share/doc/${P} to begin using the schema."
	echo
}