summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-09-06 06:42:18 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-09-06 06:42:18 +0000
commit90fbec142f4024f141e1f2cc5d255a263c15f025 (patch)
tree1a8ca0a95d10814400d4d3753f71b7ffeceb2d5c /sci-biology/treeviewx/treeviewx-0.5.1-r2.ebuild
parentManifest fix, upstream changed tarball (diff)
downloadgentoo-2-90fbec142f4024f141e1f2cc5d255a263c15f025.tar.gz
gentoo-2-90fbec142f4024f141e1f2cc5d255a263c15f025.tar.bz2
gentoo-2-90fbec142f4024f141e1f2cc5d255a263c15f025.zip
Migrate to wxGTK-2.8 with patch from Debian. Use EAPI 2. Simplify
wxwidgets handling. (Portage version: 2.2_rc75/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/treeviewx/treeviewx-0.5.1-r2.ebuild')
-rw-r--r--sci-biology/treeviewx/treeviewx-0.5.1-r2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-biology/treeviewx/treeviewx-0.5.1-r2.ebuild b/sci-biology/treeviewx/treeviewx-0.5.1-r2.ebuild
new file mode 100644
index 000000000000..1a65ecedcadd
--- /dev/null
+++ b/sci-biology/treeviewx/treeviewx-0.5.1-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 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-r2.ebuild,v 1.1 2010/09/06 06:42:18 dirtyepic Exp $
+
+EAPI=2
+
+WX_GTK_VER="2.8"
+inherit eutils wxwidgets
+
+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/0.5/tv-${PV}.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/wxGTK:2.8[X]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/tv-${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-wxt.patch
+ epatch "${FILESDIR}"/${P}-gcc4.3.patch
+ epatch "${FILESDIR}"/${P}-wx28.patch
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "make install failed"
+}