From 1a0b4549a7b6cce30a08eb3d97a418278fd5d4b9 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Sun, 19 Nov 2006 22:01:03 +0000 Subject: Use wxwidgets eclass (Portage version: 2.1.2_rc2) --- games-util/wxchtdecoder/ChangeLog | 5 ++++- games-util/wxchtdecoder/wxchtdecoder-1.5.ebuild | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'games-util') 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 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" -- cgit v1.2.3-65-gdbad