Well since I'm a gentoo user and a aMule tester, I have some stuff that you can use:
check this wxGTK-2.5.1 (with gkt2 support enabled) ebuild:
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.2.ebuild,v 1.11 2004/04/26 14:43:52 agriffis Exp $
inherit eutils flag-o-matic
DESCRIPTION="GTK+ version of wxWindows, a cross-platform C++ GUI toolkit."
SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2"
HOMEPAGE="http://www.wxwindows.org/"
RESTRICT="nomirror"
LICENSE="wxWinLL-3"
SLOT="0"
KEYWORDS="x86 ppc ~sparc alpha amd64 ia64"
IUSE="-unicode gtk2"
RDEPEND="virtual/x11
sys-libs/zlib
media-libs/libpng
media-libs/jpeg
media-libs/tiff
dev-libs/crypto++"
src_compile() {
local myconf
myconf="${myconf} --with-gtk"
myconf="${myconf} --disable-unicode"
myconf="${myconf} --enable-gtk2"
export LANG='C'
strip-flags
unset CFLAGS CXXFLAGS
econf ${myconf}|| die "econf failed"
emake || die "make failed"
}
src_install(){
einstall || die "install failed"
dodoc *.txt
dosym /usr/bin/wxgtk-2.5-config /usr/bin/wxgtk-config
}
you should copy this has $PORTAGE_OVERLAY/x11-libs/wxGTK/wxGTK-2.5.1.ebuild
check your /etc/make.conf for the Portage Overlay config.
then:
cd $PORTAGE_OVERLAY/x11-libs/wxGTK
ebuild wxGTK-2.5.1.ebuild digest
(if this fails to download at first time try again, cos there are some Sourceforge mirrors that don't have this file)
after this, download a cvs version of amule and in amule dir make:
WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_8="1" ./autogen.sh
export CFLAGS=""
export CXXFLAGS=""
./configure --enable-debug --disable-optimize --enable-amulecmd --enable-amulecmdgui --enable-webserver --enable-webservergui
make
Attention: this ebuild is not the best, and is targeted for amule testers, so there are some changes that I should do, but I don't have much time, and this is open, so if anyone has improvements just post it and give a litle comment about it, and I will change this...
Altougth this ebuild is working fine for me... and remember that in that latest cvs versions you don't need wxBase anymore.