diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2005-03-30 22:17:58 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2005-03-30 22:17:58 +0000 |
commit | 3447717f59d76d430d65f6fb2306a4cf49965b9c (patch) | |
tree | d9c44f6e92f78bfbcfa0bc9a332cade1136e15d3 /sci-biology/treeviewx | |
parent | Keyworded sparc (diff) | |
download | gentoo-2-3447717f59d76d430d65f6fb2306a4cf49965b9c.tar.gz gentoo-2-3447717f59d76d430d65f6fb2306a4cf49965b9c.tar.bz2 gentoo-2-3447717f59d76d430d65f6fb2306a4cf49965b9c.zip |
New version.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-biology/treeviewx')
-rw-r--r-- | sci-biology/treeviewx/ChangeLog | 7 | ||||
-rw-r--r-- | sci-biology/treeviewx/Manifest | 2 | ||||
-rw-r--r-- | sci-biology/treeviewx/files/digest-treeviewx-0.5 | 1 | ||||
-rw-r--r-- | sci-biology/treeviewx/treeviewx-0.5.ebuild | 54 |
4 files changed, 63 insertions, 1 deletions
diff --git a/sci-biology/treeviewx/ChangeLog b/sci-biology/treeviewx/ChangeLog index f07b2cb4c279..17b65297eea9 100644 --- a/sci-biology/treeviewx/ChangeLog +++ b/sci-biology/treeviewx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-biology/treeviewx # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.8 2005/03/02 02:09:47 ribosome Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.9 2005/03/30 22:17:58 ribosome Exp $ + +*treeviewx-0.5 (30 Mar 2005) + + 30 Mar 2005; Olivier Fisette <ribosome@gentoo.org> +treeviewx-0.5.ebuild: + New version. 01 Mar 2005; Olivier Fisette <ribosome@gentoo.org> -treeviewx-0.4.ebuild: Keep only the patched version (solves bug #82455). diff --git a/sci-biology/treeviewx/Manifest b/sci-biology/treeviewx/Manifest index f84ef84aa9c4..3fab8b1a1aa1 100644 --- a/sci-biology/treeviewx/Manifest +++ b/sci-biology/treeviewx/Manifest @@ -1,5 +1,7 @@ +MD5 2c5fa9225c63923854ac21dbe53c27eb treeviewx-0.5.ebuild 1419 MD5 2306edbbf4c9d98860d39e4eb4292d03 treeviewx-0.4-r1.ebuild 1404 MD5 80a32a1766ad94ced8dd31436f0ae4b4 ChangeLog 1529 MD5 4a02a793e1530b66640221d52ab8a8ab metadata.xml 523 MD5 c208b90b136cb1d6147844b45c943663 files/treeviewx-gcc-3.4.patch 1993 +MD5 9a7fb7db456158b59c94a1a74db1a19a files/digest-treeviewx-0.5 58 MD5 8d3f96dc6ba46b29f75306900104b6fa files/digest-treeviewx-0.4-r1 58 diff --git a/sci-biology/treeviewx/files/digest-treeviewx-0.5 b/sci-biology/treeviewx/files/digest-treeviewx-0.5 new file mode 100644 index 000000000000..c1d739144b91 --- /dev/null +++ b/sci-biology/treeviewx/files/digest-treeviewx-0.5 @@ -0,0 +1 @@ +MD5 6c8bf75667184943f4d3f047a4e7538d tv-0.5.tar.gz 394811 diff --git a/sci-biology/treeviewx/treeviewx-0.5.ebuild b/sci-biology/treeviewx/treeviewx-0.5.ebuild new file mode 100644 index 000000000000..8816a227d0ac --- /dev/null +++ b/sci-biology/treeviewx/treeviewx-0.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/treeviewx-0.5.ebuild,v 1.1 2005/03/30 22:17:58 ribosome Exp $ + +inherit eutils + +DESCRIPTION="A phylogenetic tree viewer" +HOMEPAGE="http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/" +SRC_URI="http://darwin.zoology.gla.ac.uk/~rpage/${PN}/download/${PV}/tv-${PV}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86" +SLOT="0" +IUSE="" + +DEPEND=">=x11-libs/wxGTK-2.4.2-r2" + +S=${WORKDIR}/tv-${PV} + +pkg_setup() { + if ! [ -e /usr/lib/libwx_gtk2-2.4.so ]; then + eerror "TreeView X requires the non Unicode, gtk2-enabled version" + eerror "of the wxGTK library. This version was not found on your" + eerror "system. Please install \">=x11-libs/wx_TK-2.4.2-r2\" with" + eerror "the \"gtk2\" \"USE\" flag enabled." + die "Could not find non Unicode, gtk2-enabled wxGTK library." + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-gcc-3.4.patch +} + +src_compile() { + econf || die + # The configure script may pick the Unicode wxGTK. + if grep -q "gtk2u" Makefile; then + sed -i -e 's/gtk2u/gtk2/' Makefile || die + cd TreeLib + sed -i -e 's/gtk2u/gtk2/' Makefile || die + cd ../ncl-2.0 + sed -i -e 's/gtk2u/gtk2/' Makefile || die + cd src + sed -i -e 's/gtk2u/gtk2/' Makefile || die + fi + cd ${S} + emake || die +} + +src_install() { + make install DESTDIR=${D} || die +} |