# Copyright 1999-2004 Gentoo Foundation # DIstributed under the terms of the GNU General Public License Version 2 or later # $Header $ inherit eutils DESCRIPTION="wxBase is the library providing most of the non-GUI classes of the wxWindows cross-platform C++ framework" HOMEPAGE="http://www.wxwindows.org/" SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2" SLOT="0" LICENSE="wxWinLL-3" KEYWORDS="x86" IUSE="opengl gtk2" RDEPEND="virtual/x11 sys-libs/zlib media-libs/libpng media-libs/jpeg media-libs/tiff opengl? ( virtual/opengl ) gtk2? ( >=x11-libs/gtk+-2.0 >=dev-libs/glib-2.0 ) !gtk2? ( =x11/libs/gtk+-1.2* =dev-libs/glib-1.2* )" DEPEND="${RDEPEND} gtk2? ( dev-util/pkgconfig )" src_unpack() { unpack ${A} || die "unpack failed" } src_compile() { local myconf myconf="${myconf} --prefix=/usr" econf ${myconf} || die "econf failed" emake || die "make failed" } src_install() { einstall || die "install failed" }