summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2007-04-30 03:51:41 +0000
committerRyan Hill <dirtyepic@gentoo.org>2007-04-30 03:51:41 +0000
commit2afbe1328d8d08d293ccca1c4e5227d290361570 (patch)
tree96087cd6bc40ae7ee8d8fb0c537c7967f09f6ace /sci-biology
parentAdd src_test support. (diff)
downloadgentoo-2-2afbe1328d8d08d293ccca1c4e5227d290361570.tar.gz
gentoo-2-2afbe1328d8d08d293ccca1c4e5227d290361570.tar.bz2
gentoo-2-2afbe1328d8d08d293ccca1c4e5227d290361570.zip
Use wxwidgets.eclass
(Portage version: 2.1.2.5)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/treeviewx/ChangeLog5
-rw-r--r--sci-biology/treeviewx/treeviewx-0.5.1.ebuild16
2 files changed, 16 insertions, 5 deletions
diff --git a/sci-biology/treeviewx/ChangeLog b/sci-biology/treeviewx/ChangeLog
index a4232c0d0baa..cf011aaccb25 100644
--- a/sci-biology/treeviewx/ChangeLog
+++ b/sci-biology/treeviewx/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-biology/treeviewx
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.15 2007/02/22 01:32:29 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.16 2007/04/30 03:51:41 dirtyepic Exp $
+
+ 30 Apr 2007; Ryan Hill <dirtyepic@gentoo.org> treeviewx-0.5.1.ebuild:
+ Use wxwidgets.eclass
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/sci-biology/treeviewx/treeviewx-0.5.1.ebuild b/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
index eaf8771d4d1b..5141d4569de0 100644
--- a/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
+++ b/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/treeviewx-0.5.1.ebuild,v 1.5 2006/04/01 16:09:10 deltacow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/treeviewx-0.5.1.ebuild,v 1.6 2007/04/30 03:51:41 dirtyepic Exp $
-inherit eutils
+inherit eutils wxwidgets
DESCRIPTION="A phylogenetic tree viewer"
HOMEPAGE="http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/"
@@ -13,7 +13,7 @@ KEYWORDS="~amd64 x86"
SLOT="0"
IUSE=""
-DEPEND=">=x11-libs/wxGTK-2.6"
+DEPEND="=x11-libs/wxGTK-2.6*"
S="${WORKDIR}/tv-${PV}"
@@ -35,6 +35,14 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-wxt.patch
}
+src_compile() {
+ WX_GTK_VER="2.6"
+ need-wxwidgets gtk2
+
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
src_install() {
make install DESTDIR="${D}" || die "make install failed"
}