summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-11-19 22:01:03 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-11-19 22:01:03 +0000
commit1a0b4549a7b6cce30a08eb3d97a418278fd5d4b9 (patch)
tree6221a63bde788d476b9fccf5ae7d065e970bd338 /games-util
parentUse wxwidgets eclass and install desktop entry (diff)
downloadgentoo-2-1a0b4549a7b6cce30a08eb3d97a418278fd5d4b9.tar.gz
gentoo-2-1a0b4549a7b6cce30a08eb3d97a418278fd5d4b9.tar.bz2
gentoo-2-1a0b4549a7b6cce30a08eb3d97a418278fd5d4b9.zip
Use wxwidgets eclass
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'games-util')
-rw-r--r--games-util/wxchtdecoder/ChangeLog5
-rw-r--r--games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild17
2 files changed, 17 insertions, 5 deletions
diff --git a/games-util/wxchtdecoder/ChangeLog b/games-util/wxchtdecoder/ChangeLog
index 1b8a9ade6291..553edc7b2ee9 100644
--- a/games-util/wxchtdecoder/ChangeLog
+++ b/games-util/wxchtdecoder/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-util/wxchtdecoder
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/wxchtdecoder/ChangeLog,v 1.1 2006/04/23 07:56:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/wxchtdecoder/ChangeLog,v 1.2 2006/11/19 22:01:03 nyhm Exp $
+
+ 19 Nov 2006; Tristan Heaven <nyhm@gentoo.org> wxchtdecoder-1.5.ebuild:
+ Use wxwidgets eclass
*wxchtdecoder-1.5 (23 Apr 2006)
diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild b/games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild
index 2c3402582f2f..3ac2b491439e 100644
--- a/games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild
+++ b/games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild,v 1.1 2006/04/23 07:56:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild,v 1.2 2006/11/19 22:01:03 nyhm Exp $
+
+inherit wxwidgets
DESCRIPTION="A program to decode .CHT files in Snes9x and ZNSES to plain text"
HOMEPAGE="http://games.technoplaza.net/chtdecoder/"
@@ -11,9 +13,16 @@ SLOT="0"
KEYWORDS="x86"
IUSE=""
-RDEPEND=">=x11-libs/wxGTK-2.4.2"
-DEPEND="${RDEPEND}
- >=sys-devel/gcc-3.3.1"
+DEPEND=">=x11-libs/wxGTK-2.6"
+
+pkg_setup() {
+ WX_GTK_VER=2.6 need-wxwidgets gtk2
+}
+
+src_compile() {
+ econf --with-wx-config=${WX_CONFIG} || die
+ emake || die "emake failed"
+}
src_install() {
dobin src/wxchtdecoder || die "dobin failed"