summaryrefslogtreecommitdiff
blob: e381dcbf39c447143d9efc02a9aac1f453ea5a7f (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

SRC_URI="${P}.tar.gz"

DESCRIPTION="Clustering software for microarrays analisys"
HOMEPAGE="http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#ctv"
LICENSE="as Python Licence"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"

DEPEND="X? ( x11-libs/openmotif )"

RESTRICT="fetch"

pkg_nofetch() {
        einfo "Please obtain ${P}.tar.gz from ${HOMEPAGE} and place it in ${DISTDIR}"
}

# S="${WORKDIR}/cluster-1.35"

src_compile() {

	econf $(use_with X x) || die "econf failed"

	emake || die "emake failed"
}

src_install() {
	cd ${S}
	emake DESTDIR="${D}" install || die "Install failed"

	dohtml html/*
	dodoc README COPYING AUTHORS ChangeLog NEWS TODO
	insinto /usr/share/doc/${P}/pdf
	doins doc/*.pdf
	insinto /usr/share/doc/${P}/examples
	doins X11/format.xpm example/example.c example/README
}