diff options
author | Pavel Sanda <ps@twin.jikos.cz> | 2012-08-22 00:30:56 +0200 |
---|---|---|
committer | Pavel Sanda <ps@twin.jikos.cz> | 2012-08-22 00:30:56 +0200 |
commit | 0d525196829b5f5851bb6c6279cee6b00937c41d (patch) | |
tree | 9e8b4fda913809d62fe48c6a17491fea5ca1d90e | |
parent | Add ebuild for jtreeview binary (diff) | |
download | rebutia-0d525196829b5f5851bb6c6279cee6b00937c41d.tar.gz rebutia-0d525196829b5f5851bb6c6279cee6b00937c41d.tar.bz2 rebutia-0d525196829b5f5851bb6c6279cee6b00937c41d.zip |
Add cluster from science overlay and cut few deps.
-rw-r--r-- | sci-biology/cluster/Manifest | 2 | ||||
-rw-r--r-- | sci-biology/cluster/cluster-1.50-r1.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/sci-biology/cluster/Manifest b/sci-biology/cluster/Manifest new file mode 100644 index 0000000..ea44a1e --- /dev/null +++ b/sci-biology/cluster/Manifest @@ -0,0 +1,2 @@ +DIST cluster-1.50.tar.gz 859841 SHA256 07c659bc0d39a3e326af05eea098afa26060eba915693774d0bfaded42d5228a SHA512 d7903bd484d27424968c30458f7f9e75b6b9ac778aec9a0fac96c073f795d0606e05a31b33c416074f34be0bcec01fa7e5c21dfa2e08423fe26ee5fd0b03e978 WHIRLPOOL 5a39b28804589095c51d9b893d7214b1270479561ec0cde14eda006b934e3d9f3fd631dbb5b5248ed71c97e2c77a7059109d7d9950aaf4fa29097c512216d87c +EBUILD cluster-1.50-r1.ebuild 1132 SHA256 01fb78a618a24312d09b8c20c2c35e7aff1927a09310779eeec5ee0ebff2e2f3 SHA512 5598e700cfa72c7715438dfe2780dab51a76b2a6a80eb2e90dc5c6fcae997c1c11bce4dc096c905b24625bf589cb5eb27dfacf689c53547f12902276c41bfb1d WHIRLPOOL 0161e181707a3d4b167af4919c5f65b818c091211a7fd55b293fb3a4fe77819db74ddd525a353f161cf9b1a33c9e0536fd6745e4ff8ed2b9903d3d9e7f1ee161 diff --git a/sci-biology/cluster/cluster-1.50-r1.ebuild b/sci-biology/cluster/cluster-1.50-r1.ebuild new file mode 100644 index 0000000..a279fad --- /dev/null +++ b/sci-biology/cluster/cluster-1.50-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Clustering software for microarray analysis" +HOMEPAGE="http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#ctv" +SRC_URI="http://bonsai.hgc.jp/~mdehoon/software/cluster/${P}.tar.gz" + +LICENSE="Eisen" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="X" + +DEPEND="X? ( x11-libs/openmotif )" +RDEPEND=" + X? ( x11-misc/xdg-utils )" + +src_prepare() { + sed -i \ + -e 's:^docdir = .*$:docdir = @docdir@:' \ + -e 's:^htmldir = .*$:htmldir = @htmldir@:' \ + -e 's:^imagedir = .*$:imagedir = @htmldir@/images:' \ + -e 's:^fileformatdir = .*$:fileformatdir = @docdir@:' \ + X11/Makefile.in || die "sed failed" +} + +src_configure() { + econf \ + $(use_with X x) \ + --docdir="/usr/share/doc/${P}" \ + --htmldir="/usr/share/doc/${P}/html" +} + +src_install() { + default + + mv "${ED}"/usr/bin/cluster{,3} + + insinto /usr/share/doc/${P}/examples + doins example/example.c example/README + insinto /usr/share/doc/${PR} + doins doc/cluster.pdf +} + +pkg_postinst() { + elog "We renamed the cluster binary to cluster3" +} |