# Copyright (c) 2004 Adrian Smarzewski # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="wxWidgets extension: wxActiveX (for xmingw cross-compiler)" SRC_URI="http://members.optusnet.com.au/~blackpaw1/files/wxie.zip" HOMEPAGE="http://members.optusnet.com.au/~blackpaw1/wxactivex.html" LICENSE="wxWinLL-3" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=dev-libs/xmingw-wxWidgets-2.4.2" src_unpack() { unpack ${A} } src_compile() { cd ${WORKDIR} PATH="/opt/xmingw/i386-mingw32msvc/bin:/opt/xmingw/wxWidgets/bin:$PATH" einfo einfo "Check your CFLAGS,CXXFLAGS machine settings if you want to" einfo "generate applications that will run on other machines!" einfo epatch ${FILESDIR}/wxActiveX-xmingw.patch emake || die "make failed" } src_install() { cd ${WORKDIR} make prefix=${D}/opt/xmingw/wxActiveX install || die "install failed" }