summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-08-09 08:20:15 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-08-09 08:20:15 +0000
commit0c666a027797cf517c4325e48735074eb24c287a (patch)
tree6be0d962013935e51d69a2bfef6419e9103ae627 /sci-biology
parentAdd metadata.xml (diff)
downloadje_fro-0c666a027797cf517c4325e48735074eb24c287a.tar.gz
je_fro-0c666a027797cf517c4325e48735074eb24c287a.tar.bz2
je_fro-0c666a027797cf517c4325e48735074eb24c287a.zip
Fix to work with USE=X
svn path=/; revision=22
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/cluster/Manifest12
-rw-r--r--sci-biology/cluster/cluster-1.36.ebuild27
2 files changed, 27 insertions, 12 deletions
diff --git a/sci-biology/cluster/Manifest b/sci-biology/cluster/Manifest
index 3ca54c4..6c0b051 100644
--- a/sci-biology/cluster/Manifest
+++ b/sci-biology/cluster/Manifest
@@ -1,8 +1,12 @@
DIST cluster-1.36.tar.gz 971192 RMD160 72dea711c915074bca8d6186af285f8640bdfd43 SHA1 69bb0de8e5fb9d6bf5ab29b53d65b21ab97cc4ce SHA256 76f73740a2c8725e704780643cfac11875c957ba85254114946dccf3326caccf
-EBUILD cluster-1.36.ebuild 934 RMD160 a8323d93118ef1996514bfe8a6473346c866217f SHA1 745fed073df541929a41a5d4319de8ab35a44b3d SHA256 dc2cd805fc022af3148f772c6aaa4b69fb0d12b78221a440c3736b87ef702782
-MD5 37f993283666978a57e29391dc505c21 cluster-1.36.ebuild 934
-RMD160 a8323d93118ef1996514bfe8a6473346c866217f cluster-1.36.ebuild 934
-SHA256 dc2cd805fc022af3148f772c6aaa4b69fb0d12b78221a440c3736b87ef702782 cluster-1.36.ebuild 934
+EBUILD cluster-1.36.ebuild 1610 RMD160 8b23f5a69e5637565d63fe2eca3e326dd35508fb SHA1 a19b2e93e83ac4019fc09b5f9c9c733c52e4a923 SHA256 cf3b29b19ea3c711a951dda6d0c6640fcde2bb3b20b57cb21429718548dc07e7
+MD5 450e5620bd64e3f392294a56c6aae68b cluster-1.36.ebuild 1610
+RMD160 8b23f5a69e5637565d63fe2eca3e326dd35508fb cluster-1.36.ebuild 1610
+SHA256 cf3b29b19ea3c711a951dda6d0c6640fcde2bb3b20b57cb21429718548dc07e7 cluster-1.36.ebuild 1610
+MISC metadata.xml 380 RMD160 a1c3ba6e6674088b1f06f1d8554b0457d5a95154 SHA1 eaf44b343cd9b336365d6a5858e41cf62dadd39b SHA256 4893d94442ec3c749ddb0fef6e62257e98b435e1709d4e71fc0f6c4ceea52dc2
+MD5 95aa0e81b9a24708648671ec7f94d3a6 metadata.xml 380
+RMD160 a1c3ba6e6674088b1f06f1d8554b0457d5a95154 metadata.xml 380
+SHA256 4893d94442ec3c749ddb0fef6e62257e98b435e1709d4e71fc0f6c4ceea52dc2 metadata.xml 380
MD5 16e58679fbea16fbaf0e00d97797b449 files/digest-cluster-1.36 238
RMD160 2d7b7d05ffc8e775ce7ffc7ffd6dfcb8f824edc5 files/digest-cluster-1.36 238
SHA256 d611e29bd0456213c139ed17e12d1faaf0912da5140f82b2daa0903eee4c241f files/digest-cluster-1.36 238
diff --git a/sci-biology/cluster/cluster-1.36.ebuild b/sci-biology/cluster/cluster-1.36.ebuild
index e381dcb..1c4376c 100644
--- a/sci-biology/cluster/cluster-1.36.ebuild
+++ b/sci-biology/cluster/cluster-1.36.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-
+inherit autotools
SRC_URI="${P}.tar.gz"
DESCRIPTION="Clustering software for microarrays analisys"
@@ -11,7 +11,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
-DEPEND="X? ( x11-libs/openmotif )"
+DEPEND="X? ( virtual/motif )"
RESTRICT="fetch"
@@ -19,11 +19,25 @@ pkg_nofetch() {
einfo "Please obtain ${P}.tar.gz from ${HOMEPAGE} and place it in ${DISTDIR}"
}
-# S="${WORKDIR}/cluster-1.35"
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ sed -i \
+ -e 's:^docdir = $(prefix)/cluster/doc:docdir = @docdir@:' \
+ -e 's:^htmldir = $(prefix)/cluster/html:htmldir = @htmldir@:' \
+ -e 's:^imagedir = $(prefix)/cluster/html/images:imagedir = @htmldir@/images:' \
+ -e 's:^fileformatdir = $(prefix)/cluster:fileformatdir = @docdir@:' \
+ X11/Makefile.in || die "sed failed"
+
+# X11/gui.c \
+}
src_compile() {
- econf $(use_with X x) || die "econf failed"
+ econf $(use_with X x) \
+ --docdir="/usr/share/doc/${P}" \
+ --htmldir="/usr/share/doc/${P}/html" \
+ || die "econf failed"
emake || die "emake failed"
}
@@ -32,10 +46,7 @@ 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
+ doins example/example.c example/README
}